Skip to content

Commit 72e77df

Browse files
authored
python3Packages.bitstruct: 8.20.0 -> 8.21.0 (#407511)
2 parents adfa8b0 + 5f41aba commit 72e77df

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

pkgs/development/python-modules/bitstruct/default.nix

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
5+
pytestCheckHook,
56
setuptools,
6-
pythonOlder,
77
}:
88

99
buildPythonPackage 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";

0 commit comments

Comments
 (0)