pythonPackages.itanium_demangler: init at 1.0

This commit is contained in:
Pamplemousse 2019-07-15 14:36:48 -07:00 committed by Jon
parent f4ae8d09e7
commit 02583ed283
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, pytest
}:
buildPythonPackage rec {
pname = "itanium_demangler";
version = "1.0"; # pulled from pypi version
src = fetchFromGitHub {
owner = "whitequark";
repo = "python-${pname}";
rev = "29c77860be48e6dafe3496e4d9d0963ce414e366";
sha256 = "0qm95l6542nk63986w9lgzkxg824l31714i584s02rh9xwfg1xfx";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest tests/test.py
'';
meta = with lib; {
description = "A pure Python parser for the Itanium C++ ABI symbol mangling language";
homepage = "https://github.com/whitequark/python-itanium_demangler";
license = licenses.bsd0;
maintainers = [ maintainers.pamplemousse ];
};
}

View File

@ -710,6 +710,8 @@ in {
inquirer = callPackage ../development/python-modules/inquirer { };
itanium_demangler = callPackage ../development/python-modules/itanium_demangler { };
janus = callPackage ../development/python-modules/janus { };
jira = callPackage ../development/python-modules/jira { };