567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
23 lines
465 B
Nix
23 lines
465 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "crcmod";
|
|
version = "1.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
|
|
};
|
|
|
|
meta = {
|
|
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
|
|
homepage = "https://crcmod.sourceforge.net/";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|