2018-07-30 19:28:24 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "identify";
|
2020-05-26 20:28:47 +01:00
|
|
|
version = "1.4.16";
|
2018-07-30 19:28:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-26 20:28:47 +01:00
|
|
|
sha256 = "19zk3qmcf0afbcbfnj7cmmgr47pxhjqwa1bfdc3fp60yy10kvbgr";
|
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;
|
|
|
|
};
|
|
|
|
}
|