about summary refs log tree commit diff
path: root/pkgs/development/python-modules/identify/default.nix
blob: 110c28ee2f406f4a55c571ed50b238692bde20cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
  pname = "identify";
  version = "1.5.14";

  src = fetchPypi {
    inherit pname version;
    sha256 = "de7129142a5c86d75a52b96f394d94d96d497881d2aaf8eafe320cdbe8ac4bcc";
  };

  pythonImportsCheck = [ "identify" ];

  # 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;
  };
}