nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.karton-classifier: 1.1.0 -> 1.2.0

+9 -8
+9 -8
pkgs/development/python-modules/karton-classifier/default.nix
··· 3 3 , chardet 4 4 , fetchFromGitHub 5 5 , karton-core 6 - , python 6 + , pytestCheckHook 7 7 , python_magic 8 + , pythonOlder 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "karton-classifier"; 12 - version = "1.1.0"; 13 + version = "1.2.0"; 14 + 15 + disabled = pythonOlder "3.7"; 13 16 14 17 src = fetchFromGitHub { 15 18 owner = "CERT-Polska"; 16 19 repo = pname; 17 20 rev = "v${version}"; 18 - sha256 = "0s09mzsw546klnvm59wzj9vdwd2hyzgxvapi20k86q3prs9ncds6"; 21 + sha256 = "sha256-AG2CtNMgXYfbdlOqB1ZdjMT8H67fsSMXTgiFg6K41IQ="; 19 22 }; 20 23 21 24 propagatedBuildInputs = [ ··· 33 30 --replace "python-magic==0.4.18" "python-magic" 34 31 ''; 35 32 36 - checkPhase = '' 37 - runHook preCheck 38 - ${python.interpreter} -m unittest discover 39 - runHook postCheck 40 - ''; 33 + checkInputs = [ 34 + pytestCheckHook 35 + ]; 41 36 42 37 pythonImportsCheck = [ "karton.classifier" ]; 43 38