Loading pkgs/development/python-modules/puremagic/default.nix +12 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , fetchFromGitHub , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "puremagic"; version = "1.14"; version = "1.15"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; sha256 = "sha256-PV3ybMfsmuu/hCoJEVovqF3FnqZBT6VoVyxEd115bLw="; src = fetchFromGitHub { owner = "cdgriffith"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-WnqDrVPTlNxz3SDt1wLdZmxtj0Vh6gLHDJlYGEHHxsg="; }; # test data not included on pypi doCheck = false; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "puremagic" Loading @@ -26,6 +30,7 @@ buildPythonPackage rec { meta = with lib; { description = "Implementation of magic file detection"; homepage = "https://github.com/cdgriffith/puremagic"; changelog = "https://github.com/cdgriffith/puremagic/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ globin ]; }; Loading Loading
pkgs/development/python-modules/puremagic/default.nix +12 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , fetchFromGitHub , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "puremagic"; version = "1.14"; version = "1.15"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; sha256 = "sha256-PV3ybMfsmuu/hCoJEVovqF3FnqZBT6VoVyxEd115bLw="; src = fetchFromGitHub { owner = "cdgriffith"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-WnqDrVPTlNxz3SDt1wLdZmxtj0Vh6gLHDJlYGEHHxsg="; }; # test data not included on pypi doCheck = false; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "puremagic" Loading @@ -26,6 +30,7 @@ buildPythonPackage rec { meta = with lib; { description = "Implementation of magic file detection"; homepage = "https://github.com/cdgriffith/puremagic"; changelog = "https://github.com/cdgriffith/puremagic/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ globin ]; }; Loading