2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "identify";
|
2020-10-19 00:13:06 +00:00
|
|
|
version = "1.5.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-19 00:13:06 +00:00
|
|
|
sha256 = "969d844b7a85d32a5f9ac4e163df6e846d73c87c8b75847494ee8f4bd2186421";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests not included in PyPI tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "File identification library for Python";
|
|
|
|
homepage = "https://github.com/chriskuehl/identify";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|