Files
nixpkgs/pkgs/development/python-modules/crccheck/default.nix
T
2025-11-22 20:17:30 +01:00

40 lines
835 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "crccheck";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "MartinScharrer";
repo = "crccheck";
tag = "v${version}";
hash = "sha256-hT+8+moni7turn5MK719b4Xy336htyWWmoMnhgxKkYo=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "crccheck" ];
meta = with lib; {
description = "Python library for CRCs and checksums";
homepage = "https://github.com/MartinScharrer/crccheck";
changelog = "https://github.com/MartinScharrer/crccheck/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.linux;
};
}