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