blob: ad563890b12c8a545a25422644ac45fc4de875f9 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "crc";
version = "7.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Nicoretti";
repo = "crc";
tag = version;
hash = "sha256-Oa2VSzNT+8O/rWZurIr7RnP8m3xAEVOQLs+ObT4xIa0=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crc" ];
disabledTestPaths = [ "test/bench" ];
meta = {
description = "Python module for calculating and verifying predefined & custom CRC's";
homepage = "https://nicoretti.github.io/crc/";
changelog = "https://github.com/Nicoretti/crc/releases/tag/${version}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ jleightcap ];
mainProgram = "crc";
};
}
|