hoarder: 0.21.0 -> 0.22.0
[NixPkgs.git] / pkgs / development / python-modules / itanium-demangler / default.nix
blob7d00cfbaebf99440c2204d7cd07390d9b1c39015
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "itanium-demangler";
11   version = "1.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "whitequark";
18     repo = "python-itanium_demangler";
19     tag = "v${version}";
20     hash = "sha256-I6NUfckt2cocQt5dZSFadpshTCuA/6bVNauNXypWh+A=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pytestFlagsArray = [ "tests/test.py" ];
27   pythonImportsCheck = [ "itanium_demangler" ];
29   meta = with lib; {
30     description = "Python parser for the Itanium C++ ABI symbol mangling language";
31     homepage = "https://github.com/whitequark/python-itanium_demangler";
32     license = licenses.bsd0;
33     maintainers = with maintainers; [
34       fab
35       pamplemousse
36     ];
37   };