File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
pkgs/development/python-modules/bitstruct Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- fetchPypi ,
4+ fetchFromGitHub ,
5+ pytestCheckHook ,
56 setuptools ,
6- pythonOlder ,
77} :
88
99buildPythonPackage rec {
1010 pname = "bitstruct" ;
11- version = "8.20 .0" ;
11+ version = "8.21 .0" ;
1212 pyproject = true ;
1313
14+ src = fetchFromGitHub {
15+ owner = "eerimoq" ;
16+ repo = "bitstruct" ;
17+ tag = version ;
18+ hash = "sha256-r2FPfSoW1Za7kglwpPXnWvWwzhAB8fQXiLPmbsi/8Ps=" ;
19+ } ;
20+
1421 build-system = [
1522 setuptools
1623 ] ;
1724
18- disabled = pythonOlder "3.8" ;
19-
20- src = fetchPypi {
21- inherit pname version ;
22- hash = "sha256-9rFqkwlzE/KmwUZkDJPl+YijnDM2T4wgpChqwcXtXa4=" ;
23- } ;
24-
2525 pythonImportsCheck = [ "bitstruct" ] ;
2626
27+ nativeCheckInputs = [
28+ pytestCheckHook
29+ ] ;
30+
2731 meta = with lib ; {
2832 description = "Python bit pack/unpack package" ;
2933 homepage = "https://github.com/eerimoq/bitstruct" ;
You can’t perform that action at this time.
0 commit comments