blob: ade063a625aeca742df113df0faf037dd1782bf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itanium-demangler";
version = "1.0"; # pulled from pypi version
src = fetchFromGitHub {
owner = "whitequark";
repo = "python-itanium_demangler";
rev = "29c77860be48e6dafe3496e4d9d0963ce414e366";
hash = "sha256-3fXwHO8JZgE0QSWScMKgRKDX5380cYPSMNMKUgwtqWI=";
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/test.py"
];
pythonImportsCheck = [
" itanium_demangler "
];
meta = with lib; {
description = "Python parser for the Itanium C++ ABI symbol mangling language";
homepage = "https://github.com/whitequark/python-itanium_demangler";
license = licenses.bsd0;
maintainers = with maintainers; [ pamplemousse ];
};
}
|