1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "crcelk";
11 version = "1.3";
12 pyproject = true;
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchFromGitHub {
17 owner = "zeroSteiner";
18 repo = "crcelk";
19 tag = "v${version}";
20 hash = "sha256-eJt0qcG0ejTQJyjOSi6Au2jH801KOMnk7f6cLbd7ADw=";
21 };
22
23 build-system = [ setuptools ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "crcelk" ];
29
30 meta = {
31 description = "Implementation of the CRC algorithm";
32 homepage = "https://github.com/zeroSteiner/crcelk";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ fab ];
35 };
36}