Unverified Commit 9e8802de authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #305681 from fabaff/identify-bump

python312Packages.identify: 2.5.35 -> 2.5.36 
parents 165090ed 9fafd6e1
Loading
Loading
Loading
Loading
+15 −18
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, editdistance-s
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, ukkonen
{
  lib,
  buildPythonPackage,
  editdistance-s,
  fetchFromGitHub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  ukkonen,
}:

buildPythonPackage rec {
  pname = "identify";
  version = "2.5.35";
  version = "2.5.36";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -19,28 +20,24 @@ buildPythonPackage rec {
    owner = "pre-commit";
    repo = "identify";
    rev = "refs/tags/v${version}";
    hash = "sha256-kUBAq9ttIdTLApJ0yW8Yk/NIXpmllApQGpR24wm0PHA=";
    hash = "sha256-CO+qP0FIUdPFXy6/7FgrKZbUp48XbgqqGV2GAX9ogMY=";
  };

  nativeBuildInputs = [
    setuptools
  ];
  build-system = [ setuptools ];

  nativeCheckInputs = [
  dependencies = [
    editdistance-s
    pytestCheckHook
    ukkonen
  ];

  pythonImportsCheck = [
    "identify"
  ];
  pythonImportsCheck = [ "identify" ];

  meta = with lib; {
    description = "File identification library for Python";
    mainProgram = "identify-cli";
    homepage = "https://github.com/chriskuehl/identify";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "identify-cli";
  };
}