2018-07-30 19:28:24 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "identify";
|
2021-02-22 16:25:27 +00:00
|
|
|
version = "1.5.14";
|
2018-07-30 19:28:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-22 16:25:27 +00:00
|
|
|
sha256 = "de7129142a5c86d75a52b96f394d94d96d497881d2aaf8eafe320cdbe8ac4bcc";
|
2018-07-30 19:28:24 +01:00
|
|
|
};
|
|
|
|
|
2021-02-22 16:53:54 +00: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";
|
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;
|
|
|
|
};
|
|
|
|
}
|