Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / crccheck / default.nix
blob0a9302b8841dd9bf16b295594987788d6e71cc4c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , isPy3k
5 , unittestCheckHook
6 }:
8 let
9   pname = "crccheck";
10   version = "1.3.0";
11 in buildPythonPackage {
12   inherit pname version;
13   format = "setuptools";
15   disabled = !isPy3k;
17   src = fetchFromGitHub {
18     owner = "MartinScharrer";
19     repo = "crccheck";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-nujt3RWupvCtk7gORejtSwqqVjW9VwztOVGXBHW9T+k=";
22   };
24   nativeCheckInputs = [
25     unittestCheckHook
26   ];
28   meta = with lib; {
29     description = "Python library for CRCs and checksums";
30     homepage = "https://github.com/MartinScharrer/crccheck";
31     license = licenses.mit;
32     maintainers = with maintainers; [ ];
33     platforms = platforms.linux;
34   };