]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - flakes/mypackages/overlays/ledger/default.nix
ad52fe814c3112b6615b5362148c1336fcbb0878
[perso/Immae/Config/Nix.git] / flakes / mypackages / overlays / ledger / default.nix
1 self: super: {
2 ledger = super.ledger.overrideAttrs(old: rec {
3 #name = "${old.pname}-${version}";
4 #version = "3.2.1";
5 #src = self.fetchFromGitHub {
6 # owner = "ledger";
7 # repo = "ledger";
8 # rev = "v${version}";
9 # sha256 = "0x6jxwss3wwzbzlwmnwb8yzjk8f9wfawif4f1b74z2qg6hc4r7f6";
10 #};
11 patches = old.patches or [] ++ [
12 (self.fetchpatch {
13 name = "xdgconfig.patch";
14 url = "https://github.com/ledger/ledger/commit/c79674649dee7577d6061e3d0776922257520fd0.patch";
15 sha256 = "0n82mjz9i17800r7vs45sxpss14rivsf1j8hrv7jal24iyfm01dz";
16 excludes = [ "doc/NEWS.md" ];
17 })
18 (self.fetchpatch {
19 name = "path_local.patch";
20 url = "https://github.com/ledger/ledger/commit/ba8ec32435313b4749a3733071b3184ca6bd8e14.patch";
21 sha256 = "17zgc765ypcf808jay271kqv7m17slr37q13gzllp776qi2n95ca";
22 excludes = [ "test/regress/BF3C1F82-2.test" ];
23 })
24 ];
25 });
26 }