Merge pull request #308575 from sarcasticadmin/rh/1714668194bisect

nix-bisect: 0.4.1 -> 0.4.1-unstable-2024-04-19
This commit is contained in:
Martin Weinelt 2024-05-05 00:41:20 +02:00 committed by GitHub
commit 51ac096e2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
let
pname = "nix-bisect";
version = "0.4.1";
version = "0.4.1-unstable-2024-04-19";
in
python3.pkgs.buildPythonApplication {
inherit pname version;
@ -15,23 +15,10 @@ python3.pkgs.buildPythonApplication {
src = fetchFromGitHub {
owner = "timokau";
repo = pname;
rev = "v${version}";
hash = "sha256-01vj35mMakqKi5zbMIPQ+R8xdkOWbzpnigd3/SU+svw=";
rev = "4f26082fec0817acbfa8cc6ca4c25caaf77ddcd2";
hash = "sha256-zyeE1jYo/9NEG8fB4gQBAR01siP4tyLvjjHN1yUS4Ug=";
};
patches = [
(fetchpatch {
# Fixes compatibility with recent nix versions
url = "https://github.com/timokau/nix-bisect/commit/01eefe174b740cb90e48b06d67d5582d51786b96.patch";
hash = "sha256-Gls/NtHH7LujdEgLbcIRZ12KsJDrasXIMcHeeBVns4A=";
})
(fetchpatch {
# Fixes TypeError crashes associated with drvs_failed inconsistency
url = "https://github.com/timokau/nix-bisect/commit/9f3a17783046baae64c16f9e2be917c2603977fc.patch";
hash = "sha256-U9NUtgwslcgIf/wvH/WE7t0HGs2OP3wvYDKrb5j+lp0=";
})
];
propagatedBuildInputs = with python3.pkgs; [
appdirs
numpy