python3Packages.ordered-set: 4.0.2 -> 4.1.0

+26 -11
+26 -11
pkgs/development/python-modules/ordered-set/default.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, isPy27, pytest }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , flit-core 6 + , pytestCheckHook 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "ordered-set"; 5 - version = "4.0.2"; 6 - disabled = isPy27; 11 + version = "4.1.0"; 12 + format = "pyproject"; 7 13 8 - checkInputs = [ pytest ]; 14 + disabled = pythonOlder "3.7"; 9 15 10 16 src = fetchPypi { 11 17 inherit pname version; 12 - sha256 = "159syfbqnwqnivzjfn3x7ak3xwrxmnzbji7c2qhj1jjv0pgv54xs"; 18 + sha256 = "sha256-aUqORMh2V8WSku3nKJHrkdNBMfZTFGOqswCRkcdzZKg="; 13 19 }; 14 20 15 - checkPhase = '' 16 - py.test test.py 17 - ''; 21 + nativeBuildInputs = [ 22 + flit-core 23 + ]; 24 + 25 + checkInputs = [ 26 + pytestCheckHook 27 + ]; 18 28 19 - meta = { 29 + pythonImportsCheck = [ 30 + "ordered_set" 31 + ]; 32 + 33 + meta = with lib; { 20 34 description = "A MutableSet that remembers its order, so that every entry has an index."; 21 - license = lib.licenses.mit; 22 - maintainers = [ lib.maintainers.MostAwesomeDude ]; 35 + homepage = "https://github.com/rspeer/ordered-set"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ MostAwesomeDude ]; 23 38 }; 24 39 }