Skip to content

Commit 5f41aba

Browse files
committed
python3Packages.bitstruct: fetch from GitHub
1 parent 8dd2447 commit 5f41aba

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55
pytestCheckHook,
66
setuptools,
77
}:
@@ -11,15 +11,17 @@ buildPythonPackage rec {
1111
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-
src = fetchPypi {
19-
inherit pname version;
20-
hash = "sha256-/wvklopFyvhojgdfVcyno/6SErBpumflsnsJJqEZSKw=";
21-
};
22-
2325
pythonImportsCheck = [ "bitstruct" ];
2426

2527
nativeCheckInputs = [

0 commit comments

Comments
 (0)