Merge pull request #305681 from fabaff/identify-bump

python312Packages.identify: 2.5.35 -> 2.5.36
This commit is contained in:
Fabian Affolter 2024-04-26 09:45:02 +02:00 committed by GitHub
commit 9e8802de31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, editdistance-s buildPythonPackage,
, fetchFromGitHub editdistance-s,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
, ukkonen setuptools,
ukkonen,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "identify"; pname = "identify";
version = "2.5.35"; version = "2.5.36";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,28 +20,24 @@ buildPythonPackage rec {
owner = "pre-commit"; owner = "pre-commit";
repo = "identify"; repo = "identify";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-kUBAq9ttIdTLApJ0yW8Yk/NIXpmllApQGpR24wm0PHA="; hash = "sha256-CO+qP0FIUdPFXy6/7FgrKZbUp48XbgqqGV2GAX9ogMY=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
nativeCheckInputs = [ dependencies = [
editdistance-s editdistance-s
pytestCheckHook pytestCheckHook
ukkonen ukkonen
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "identify" ];
"identify"
];
meta = with lib; { meta = with lib; {
description = "File identification library for Python"; description = "File identification library for Python";
mainProgram = "identify-cli";
homepage = "https://github.com/chriskuehl/identify"; homepage = "https://github.com/chriskuehl/identify";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "identify-cli";
}; };
} }