2018-07-30 19:28:24 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "identify";
|
2020-07-06 12:08:26 +01:00
|
|
|
version = "1.4.21";
|
2018-07-30 19:28:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 12:08:26 +01:00
|
|
|
sha256 = "105n1prgmzkzdwr8q0bdx82nj7i8p3af1abh864k2fcyjwmpzl64";
|
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";
|
2020-03-03 06:26:53 +00:00
|
|
|
homepage = "https://github.com/chriskuehl/identify";
|
2018-07-30 19:28:24 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|