aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix
new file mode 100644
index 000000000000..2a8a262bf304
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/git-my/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "git-my";
+ version = "1.1.2";
+
+ src = fetchFromGitHub {
+ owner = "davidosomething";
+ repo = "git-my";
+ rev = version;
+ sha256 = "0jji5zw25jygj7g4f6f3k0p0s9g37r8iad8pa0s67cxbq2v4sc0v";
+ };
+
+ dontBuild = true;
+
+ installPhase = ''
+ install -Dm755 -t "$out"/bin ./git-my
+ '';
+
+ meta = with stdenv.lib; {
+ description =
+ "List remote branches if they're merged and/or available locally";
+ homepage = "https://github.com/davidosomething/git-my";
+ license = licenses.free;
+ maintainers = with maintainers; [ bb010g ];
+ platforms = platforms.all;
+ };
+}
+