Merge pull request #231156 from jleightcap/jl/crc-4.2.0
python310Packages.crc: init at 4.2.0
This commit is contained in:
commit
0af87b4399
35
pkgs/development/python-modules/crc/default.nix
Normal file
35
pkgs/development/python-modules/crc/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crc";
|
||||
version = "4.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nicoretti";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-h/RVMIJX+Lyted0FHNBcKY54EiirSclkBXCpAQSATq8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
pythonImportsCheck = [ "crc" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [ "test/bench" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/Nicoretti/crc/releases/tag/${version}";
|
||||
description = "Python module for calculating and verifying predefined & custom CRC's";
|
||||
homepage = "https://nicoretti.github.io/crc/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ jleightcap ];
|
||||
};
|
||||
}
|
|
@ -2109,6 +2109,8 @@ self: super: with self; {
|
|||
|
||||
crayons = callPackage ../development/python-modules/crayons { };
|
||||
|
||||
crc = callPackage ../development/python-modules/crc { };
|
||||
|
||||
crc16 = callPackage ../development/python-modules/crc16 { };
|
||||
|
||||
crc32c = callPackage ../development/python-modules/crc32c { };
|
||||
|
|
Loading…
Reference in a new issue