ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / itanium-demangler / default.nix
blob6ec44062d8b8f3e60092066d251ea0de18269d0f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "itanium-demangler";
10   version = "1.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.8";
15   src = fetchFromGitHub {
16     owner = "whitequark";
17     repo = "python-itanium_demangler";
18     rev = "v${version}";
19     hash = "sha256-I6NUfckt2cocQt5dZSFadpshTCuA/6bVNauNXypWh+A=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
26   pytestFlagsArray = [
27     "tests/test.py"
28   ];
30   pythonImportsCheck = [
31     " itanium_demangler "
32   ];
34   meta = with lib; {
35     description = "Python parser for the Itanium C++ ABI symbol mangling language";
36     homepage = "https://github.com/whitequark/python-itanium_demangler";
37     license = licenses.bsd0;
38     maintainers = with maintainers; [ fab pamplemousse ];
39   };