Commit d23ba332 authored by Robert James Hernandez's avatar Robert James Hernandez
Browse files

nix-bisect: 0.4.1 -> 0.4.1-unstable-2024-04-19

parent 23f69f50
Loading
Loading
Loading
Loading
+3 −16
Original line number Diff line number Diff line
@@ -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