Skip to content

Commit

Permalink
Merge pull request #187531 from tjni/fix-bitstring
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Aug 21, 2022
2 parents fd9f6da + c37f44b commit 9fdef95
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/bitstring/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, unittestCheckHook
}:

Expand All @@ -15,6 +16,14 @@ buildPythonPackage rec {
sha256 = "0y2kcq58psvl038r6dhahhlhp1wjgr5zsms45wyz1naq6ri8x9qa";
};

patches = [
(fetchpatch {
name = "fix-running-unit-tests-using-unittest-hook.patch";
url = "https://github.com/scott-griffiths/bitstring/commit/e5ee3fd41cad2ea761f4450b13b0424ae7262331.patch";
hash = "sha256-+ZGywIfQQcYXJlYZBi402ONnysYm66G5zE4duJE40h8=";
})
];

checkInputs = [ unittestCheckHook ];

unittestFlagsArray = [ "-s" "test" ];
Expand Down

0 comments on commit 9fdef95

Please sign in to comment.