biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / nix-bisect / default.nix
bloba4c3179e8e58600473b36ef3cd1dedfcbc0b2cff
1 { lib
2 , fetchpatch
3 , fetchFromGitHub
4 , python3
5 }:
7 let
8   pname = "nix-bisect";
9   version = "0.4.1";
11 python3.pkgs.buildPythonApplication {
12   inherit pname version;
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "timokau";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-01vj35mMakqKi5zbMIPQ+R8xdkOWbzpnigd3/SU+svw=";
20   };
22   patches = [
23     (fetchpatch {
24       # Fixes compatibility with recent nix versions
25       url = "https://github.com/timokau/nix-bisect/commit/01eefe174b740cb90e48b06d67d5582d51786b96.patch";
26       hash = "sha256-Gls/NtHH7LujdEgLbcIRZ12KsJDrasXIMcHeeBVns4A=";
27     })
28     (fetchpatch {
29       # Fixes TypeError crashes associated with drvs_failed inconsistency
30       url = "https://github.com/timokau/nix-bisect/commit/9f3a17783046baae64c16f9e2be917c2603977fc.patch";
31       hash = "sha256-U9NUtgwslcgIf/wvH/WE7t0HGs2OP3wvYDKrb5j+lp0=";
32     })
33   ];
35   propagatedBuildInputs = with python3.pkgs; [
36     appdirs
37     numpy
38     pexpect
39   ];
41   doCheck = false;
43   meta = with lib; {
44     description = "Bisect nix builds";
45     homepage = "https://github.com/timokau/nix-bisect";
46     license = licenses.mit;
47     maintainers = with maintainers; [ hexa ];
48   };