nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 784 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "itanium-demangler"; 10 version = "1.1"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "whitequark"; 15 repo = "python-itanium_demangler"; 16 tag = "v${version}"; 17 hash = "sha256-I6NUfckt2cocQt5dZSFadpshTCuA/6bVNauNXypWh+A="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 enabledTestPaths = [ "tests/test.py" ]; 23 24 pythonImportsCheck = [ "itanium_demangler" ]; 25 26 meta = { 27 description = "Python parser for the Itanium C++ ABI symbol mangling language"; 28 homepage = "https://github.com/whitequark/python-itanium_demangler"; 29 license = lib.licenses.bsd0; 30 maintainers = with lib.maintainers; [ 31 fab 32 pamplemousse 33 ]; 34 }; 35}