Files
nixpkgs/pkgs/development/python-modules/puremagic/default.nix
Martin Weinelt 0df24af4ed python3Packages.puremagic: 1.28 -> 1.30
https://github.com/cdgriffith/puremagic/blob/1.30/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:24 +02:00

38 lines
820 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "puremagic";
version = "1.30";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cdgriffith";
repo = "puremagic";
tag = version;
hash = "sha256-k2xrcML8XxI9cMTQTv0pDLkOrmEr5mbDnVsyWuD1rEc=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "puremagic" ];
meta = with lib; {
description = "Implementation of magic file detection";
homepage = "https://github.com/cdgriffith/puremagic";
changelog = "https://github.com/cdgriffith/puremagic/blob/${src.tag}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
};
}