diff --git a/pkgs/development/python-modules/identify/default.nix b/pkgs/development/python-modules/identify/default.nix new file mode 100644 index 000000000000..b4b5d9c87275 --- /dev/null +++ b/pkgs/development/python-modules/identify/default.nix @@ -0,0 +1,20 @@ +{ lib, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "identify"; + version = "1.1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "0hvwfpf6fmgn93abrvj88pi7sbcib32s4c5r99lw67kbziq5x129"; + }; + + # 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 76af703b8f91..5f9c9c219aae 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3046,6 +3046,8 @@ in { idna-ssl = callPackage ../development/python-modules/idna-ssl { }; + identify = callPackage ../development/python-modules/identify { }; + ijson = callPackage ../development/python-modules/ijson {}; imagesize = buildPythonPackage rec {