nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 660 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "red-black-tree-mod"; 10 version = "1.22"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-OONlKQOiv5Y3nCfCCCygt7kFFYZi3X7wyX9P2TqaqQg="; 16 }; 17 18 nativeBuildInputs = [ setuptools ]; 19 20 # Module has no test 21 doCheck = false; 22 23 pythonImportsCheck = [ "red_black_dict_mod" ]; 24 25 meta = { 26 description = "Flexible python implementation of red black trees"; 27 homepage = "https://stromberg.dnsalias.org/~strombrg/red-black-tree-mod/"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ fab ]; 30 }; 31}