nixpkgs/pkgs/development/python-modules/crccheck/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

36 lines
694 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy3k,
unittestCheckHook,
}:
let
pname = "crccheck";
version = "1.3.0";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "MartinScharrer";
repo = "crccheck";
rev = "refs/tags/v${version}";
hash = "sha256-nujt3RWupvCtk7gORejtSwqqVjW9VwztOVGXBHW9T+k=";
};
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "Python library for CRCs and checksums";
homepage = "https://github.com/MartinScharrer/crccheck";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.linux;
};
}