mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
python3Packages.bitstruct: add pythonImportsCheck
This commit is contained in:
parent
0b3247ed06
commit
7c5e8f44a9
1 changed files with 14 additions and 3 deletions
|
@ -1,17 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitstruct";
|
||||
version = "8.14.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-IwwZHHXxUm9pIs2wjqtvUsBVRS4iOb9WOPAunP04LJE=";
|
||||
hash = "sha256-IwwZHHXxUm9pIs2wjqtvUsBVRS4iOb9WOPAunP04LJE=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bitstruct"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/eerimoq/bitstruct";
|
||||
description = "Python bit pack/unpack package";
|
||||
homepage = "https://github.com/eerimoq/bitstruct";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jakewaksbaum ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue