]>
Commit | Line | Data |
---|---|---|
5048e8ce SW |
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"; | |
1d99b347 | 8 | version = "2.4"; |
5048e8ce | 9 | src = fetchgit { |
bbc804af | 10 | url = "https://git.scottworley.com/pub/git/polite-merge"; |
5048e8ce | 11 | rev = version; |
1d99b347 | 12 | sha256 = "1p6ivaay3bk4vvqqic7g23xrhkkq8z19zhsaxkav8kk90s2bmmza"; |
5048e8ce SW |
13 | }; |
14 | postUnpack = "patchShebangs ."; | |
15 | checkInputs = [ git ]; | |
16 | doCheck = true; | |
17 | preInstall = "export prefix"; | |
18 | }) { }; | |
19 | } | |
20 |