My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/puremagic/default.nix

32 lines
629 B

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