Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 624 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "immutables"; 10 version = "0.15"; 11 disabled = pythonOlder "3.5"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b"; 16 }; 17 18 checkInputs = [ pytestCheckHook ]; 19 20 pythonImportsCheck = [ "immutables" ]; 21 22 meta = with lib; { 23 description = "An immutable mapping type for Python"; 24 homepage = "https://github.com/MagicStack/immutables"; 25 license = with licenses; [ asl20 ]; 26 maintainers = with maintainers; [ catern ]; 27 }; 28}