python312Packages.crcelk: init at 1.3

A pure Python implementation of the CRC algorithm

https://github.com/zeroSteiner/crcelk
This commit is contained in:
Fabian Affolter
2024-10-14 16:39:02 +02:00
parent 144db67203
commit dd59dfe8dc
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "crcelk";
version = "1.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "zeroSteiner";
repo = "crcelk";
rev = "refs/tags/v${version}";
hash = "sha256-eJt0qcG0ejTQJyjOSi6Au2jH801KOMnk7f6cLbd7ADw=";
};
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "crcelk" ];
meta = {
description = "Implementation of the CRC algorithm";
homepage = "https://github.com/zeroSteiner/crcelk";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -2652,6 +2652,8 @@ self: super: with self; {
crccheck = callPackage ../development/python-modules/crccheck { };
crcelk = callPackage ../development/python-modules/crcelk { };
crcmod = callPackage ../development/python-modules/crcmod { };
credstash = callPackage ../development/python-modules/credstash { };