3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/identify/default.nix

23 lines
517 B
Nix
Raw Normal View History

2018-07-30 19:28:24 +01:00
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "identify";
version = "1.5.14";
2018-07-30 19:28:24 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "de7129142a5c86d75a52b96f394d94d96d497881d2aaf8eafe320cdbe8ac4bcc";
2018-07-30 19:28:24 +01:00
};
pythonImportsCheck = [ "identify" ];
2018-07-30 19:28:24 +01:00
# Tests not included in PyPI tarball
doCheck = false;
meta = with lib; {
description = "File identification library for Python";
homepage = "https://github.com/chriskuehl/identify";
2018-07-30 19:28:24 +01:00
license = licenses.mit;
};
}