blob: d7fbc72b5be4e5f48fcf30e1bd16f81f3daa3651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
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 = {
description = "Python library for CRCs and checksums";
homepage = "https://github.com/MartinScharrer/crccheck";
changelog = "https://github.com/MartinScharrer/crccheck/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}
|