]> git.scottworley.com Git - auto-upgrade-with-pinch/blame - overlays/polite-merge.nix
pinch 1.5 -> 3.0.2
[auto-upgrade-with-pinch] / overlays / polite-merge.nix
CommitLineData
5048e8ce
SW
1self: 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";
2e5763d6 8 version = "2.3";
5048e8ce
SW
9 src = fetchgit {
10 url = "https://scottworley.com/polite-merge.git";
11 rev = version;
2e5763d6 12 sha256 = "0777h8pyvpml91w7lkj41shb16vpk2sbazlng44488zk3i8alq18";
5048e8ce
SW
13 };
14 postUnpack = "patchShebangs .";
15 checkInputs = [ git ];
16 doCheck = true;
17 preInstall = "export prefix";
18 }) { };
19}
20