nixpkgs/pkgs/development/python-modules/puremagic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
629 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
2021-05-09 17:49:11 +02:00
}:
buildPythonPackage rec {
pname = "puremagic";
version = "1.14";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-05-09 17:49:11 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PV3ybMfsmuu/hCoJEVovqF3FnqZBT6VoVyxEd115bLw=";
2021-05-09 17:49:11 +02:00
};
# test data not included on pypi
doCheck = false;
pythonImportsCheck = [
"puremagic"
];
2021-05-09 17:49:11 +02:00
meta = with lib; {
description = "Implementation of magic file detection";
2021-05-09 17:49:11 +02:00
homepage = "https://github.com/cdgriffith/puremagic";
license = licenses.mit;
2021-05-09 17:49:11 +02:00
maintainers = with maintainers; [ globin ];
};
}