aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--default.nix1
-rw-r--r--pkgs/git-helpers/default.nix24
2 files changed, 25 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 7552163..5a3ea2e 100644
--- a/default.nix
+++ b/default.nix
@@ -19,6 +19,7 @@
example-package = pkgs.callPackage ./pkgs/example-package { };
hgrep = pkgs.callPackage ./pkgs/hgrep { };
+ git-helpers = pkgs.callPackage ./pkgs/git-helpers { };
reparojson = pkgs.callPackage ./pkgs/reparojson { };
term-banner = pkgs.callPackage ./pkgs/term-banner { };
term-clock = pkgs.callPackage ./pkgs/term-clock { };
diff --git a/pkgs/git-helpers/default.nix b/pkgs/git-helpers/default.nix
new file mode 100644
index 0000000..94b4121
--- /dev/null
+++ b/pkgs/git-helpers/default.nix
@@ -0,0 +1,24 @@
+{
+ lib,
+ buildGoModule,
+ fetchFromGitHub,
+}:
+
+buildGoModule rec {
+ pname = "git-helpers";
+ version = "0.1.0";
+
+ src = fetchFromGitHub {
+ owner = "nsfisis";
+ repo = "git-helpers";
+ rev = "v${version}";
+ hash = "sha256-iK3P91PwKgQz4WIQBJVGjDP65dZSB0LL/NGItMj/wzQ=";
+ };
+ vendorHash = null;
+
+ meta = {
+ description = "My git helpers";
+ homepage = "https://github.com/nsfisis/git-helpers";
+ license = lib.licenses.mit;
+ };
+}