forked from mirrors/nixpkgs
30 lines
569 B
Nix
30 lines
569 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitstruct";
|
|
version = "8.15.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-b6atv7jzuMtowhsTqmXSPrLDrDJBmrkm8/0f/3F6kSU=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"bitstruct"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python bit pack/unpack package";
|
|
homepage = "https://github.com/eerimoq/bitstruct";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
};
|
|
}
|