depot/third_party/nixpkgs/pkgs/development/python-modules/crccheck/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

35 lines
705 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=";
};
checkInputs = [
unittestCheckHook
];
meta = with lib; {
description = "Python library for CRCs and checksums";
homepage = "https://github.com/MartinScharrer/crccheck";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}