Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / crc32c / default.nix
blob66d77756f780fa487c646b75d93778999858d88b
1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook }:
3 buildPythonPackage rec {
4   version = "2.3.post0";
5   pname = "crc32c";
6   format = "setuptools";
8   disabled = pythonOlder "3.5";
10   src = fetchFromGitHub {
11     owner = "ICRAR";
12     repo = pname;
13     rev = "refs/tags/v${version}";
14     hash = "sha256-lPEojWeAhfWpGR+k+Tuo4n68iZOk7lUDxjWXj5vN4I0=";
15   };
17   nativeCheckInputs = [ pytestCheckHook ];
19   meta = {
20     description = "Python software implementation and hardware API of CRC32C checksum algorithm";
21     homepage = "https://github.com/ICRAR/crc32c";
22     license = lib.licenses.lgpl21;
23     maintainers = with lib.maintainers; [ bcdarwin ];
24   };