mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
35 lines
660 B
Nix
35 lines
660 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "crc16";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-wfhqoDkPS68H0mMbFrl5WA6uHZqXOoJs5FNToi7o05Y=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Tests are outdated
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "crc16" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for calculating CRC16";
|
|
homepage = "https://code.google.com/archive/p/pycrc16/";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|