]>
Commit | Line | Data |
---|---|---|
a4ddb411 | 1 | self: super: { |
5048e8ce SW |
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"; | |
75da61c3 | 8 | version = "2.4.1"; |
5048e8ce | 9 | src = fetchgit { |
bbc804af | 10 | url = "https://git.scottworley.com/pub/git/polite-merge"; |
75da61c3 SW |
11 | rev = "v${version}"; |
12 | hash = "sha256-WtxDKKc3/IkLahVnrbfBXj6DoX1Rbu0qrIZK7D4Z7hY="; | |
5048e8ce SW |
13 | }; |
14 | postUnpack = "patchShebangs ."; | |
a4ddb411 | 15 | nativeCheckInputs = [ git ]; |
5048e8ce SW |
16 | doCheck = true; |
17 | preInstall = "export prefix"; | |
18 | }) { }; | |
19 | } | |
20 |