biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / crc32c / default.nix
blobf5f44c351c15f2ace89ee3b37fc14c5661dbe7fb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools
8 }:
10 buildPythonPackage rec {
11   version = "2.4";
12   pname = "crc32c";
13   pyproject = true;
15   disabled = pythonOlder "3.5";
17   src = fetchFromGitHub {
18     owner = "ICRAR";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-rWR2MtTLhqqvgdqEyevg/i8ZHM3OU1bJb27JkBx1J3w=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   meta = {
29     description = "Python software implementation and hardware API of CRC32C checksum algorithm";
30     homepage = "https://github.com/ICRAR/crc32c";
31     license = lib.licenses.lgpl21;
32     maintainers = with lib.maintainers; [ bcdarwin ];
33   };