nixpkgs/pkgs/development/python-modules/crc32c/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
677 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook }:
2020-01-07 22:02:28 +00:00
buildPythonPackage rec {
version = "2.3.post0";
2020-01-07 22:02:28 +00:00
pname = "crc32c";
format = "setuptools";
disabled = pythonOlder "3.5";
2020-01-07 22:02:28 +00:00
src = fetchFromGitHub {
owner = "ICRAR";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-lPEojWeAhfWpGR+k+Tuo4n68iZOk7lUDxjWXj5vN4I0=";
2020-01-07 22:02:28 +00:00
};
nativeCheckInputs = [ pytestCheckHook ];
2020-01-07 22:02:28 +00:00
meta = {
description = "Python software implementation and hardware API of CRC32C checksum algorithm";
homepage = "https://github.com/ICRAR/crc32c";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}