diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-08-01 12:33:28 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 12:33:28 +0700 |
commit | f46c9bb5141322a8747aebf991d59727c5032818 (patch) | |
tree | a7dd4fff64ecf06f369a2d19da8cfa6dd02e910c /pkgs | |
parent | e0cef70443881d773c4e302c879acdecb9491f64 (diff) | |
parent | ee05c8e8b588b53b1f28378124413387e9f7b65d (diff) | |
download | nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar.gz nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar.bz2 nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar.lz nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar.xz nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.tar.zst nixpkgs-f46c9bb5141322a8747aebf991d59727c5032818.zip |
Merge pull request #130863 from fabaff/bump-bitstring
python3Packages.bitstring: 3.1.7 -> 3.1.9
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/bitstring/default.nix | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/bitstring/default.nix b/pkgs/development/python-modules/bitstring/default.nix index ed67f2be5c5..52bc9bae865 100644 --- a/pkgs/development/python-modules/bitstring/default.nix +++ b/pkgs/development/python-modules/bitstring/default.nix @@ -1,14 +1,27 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, python +}: buildPythonPackage rec { pname = "bitstring"; - version = "3.1.7"; + version = "3.1.9"; - src = fetchPypi { - inherit pname version; - sha256 = "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"; + src = fetchFromGitHub { + owner = "scott-griffiths"; + repo = pname; + rev = "bitstring-${version}"; + sha256 = "0y2kcq58psvl038r6dhahhlhp1wjgr5zsms45wyz1naq6ri8x9qa"; }; + checkPhase = '' + cd test + ${python.interpreter} -m unittest discover + ''; + + pythonImportsCheck = [ "bitstring" ]; + meta = with lib; { description = "Module for binary data manipulation"; homepage = "https://github.com/scott-griffiths/bitstring"; |