mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
36 lines
694 B
Nix
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;
|
|
};
|
|
}
|