nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 31 lines 674 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "ordered-set"; 11 version = "4.1.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-aUqORMh2V8WSku3nKJHrkdNBMfZTFGOqswCRkcdzZKg="; 17 }; 18 19 nativeBuildInputs = [ flit-core ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "ordered_set" ]; 24 25 meta = { 26 description = "MutableSet that remembers its order, so that every entry has an index"; 27 homepage = "https://github.com/rspeer/ordered-set"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ MostAwesomeDude ]; 30 }; 31}