stevenblack-blocklist: 3.15.5 -> 3.15.8 (#372042)
[NixPkgs.git] / pkgs / development / python-modules / identify / default.nix
blob6c549c1d29ce8d7b33008eedf9133a637c3010ae
2   lib,
3   buildPythonPackage,
4   editdistance-s,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9   ukkonen,
12 buildPythonPackage rec {
13   pname = "identify";
14   version = "2.6.5";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "pre-commit";
21     repo = "identify";
22     tag = "v${version}";
23     hash = "sha256-FKF3+jN5/D0hRSvr90AY/C/5KBx0c7LvR+l12IP+zbU=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [
29     editdistance-s
30     pytestCheckHook
31     ukkonen
32   ];
34   pythonImportsCheck = [ "identify" ];
36   meta = with lib; {
37     description = "File identification library for Python";
38     homepage = "https://github.com/chriskuehl/identify";
39     license = licenses.mit;
40     maintainers = with maintainers; [ fab ];
41     mainProgram = "identify-cli";
42   };