]>
Commit | Line | Data |
---|---|---|
1 | self: super: { | |
2 | polite-merge = if builtins.hasAttr "polite-merge" super then | |
3 | super.polite-merge | |
4 | else | |
5 | self.callPackage ({ fetchgit, git, stdenv, }: | |
6 | stdenv.mkDerivation rec { | |
7 | pname = "polite-merge"; | |
8 | version = "2.0"; | |
9 | src = fetchgit { | |
10 | url = "https://scottworley.com/polite-merge.git"; | |
11 | rev = version; | |
12 | sha256 = "0dds7pf60aqm7r4g13q1bhfbzmi478c2zy2ddj5zgq0rp2kwfaba"; | |
13 | }; | |
14 | postUnpack = "patchShebangs ."; | |
15 | checkInputs = [ git ]; | |
16 | doCheck = true; | |
17 | preInstall = "export prefix"; | |
18 | }) { }; | |
19 | } | |
20 |