parent
2cdca7dc58
commit
9795a580a5
|
@ -12,6 +12,7 @@
|
||||||
overlays = import ./overlays; # nixpkgs overlays
|
overlays = import ./overlays; # nixpkgs overlays
|
||||||
|
|
||||||
# Personal projects
|
# Personal projects
|
||||||
|
git-age = pkgs.callPackage ./pkgs/git-age {};
|
||||||
gomodinit = pkgs.callPackage ./pkgs/gomodinit {};
|
gomodinit = pkgs.callPackage ./pkgs/gomodinit {};
|
||||||
imp = pkgs.callPackage ./pkgs/imp {};
|
imp = pkgs.callPackage ./pkgs/imp {};
|
||||||
tmpl = pkgs.callPackage ./pkgs/tmpl {};
|
tmpl = pkgs.callPackage ./pkgs/tmpl {};
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitea,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "git-age";
|
||||||
|
version = "0.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitea {
|
||||||
|
domain = "git.jojodev.com";
|
||||||
|
owner = "jolheiser";
|
||||||
|
repo = "git-age";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-cimuOXQcIPy3takizUKz/D0Ter1HvdNTGODpjbngo/A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-ZTpTOhtlKxux1gJGkCpVbkfgeLqF/UKdps0YGgVfeyo=";
|
||||||
|
|
||||||
|
ldflags = ["-s" "-w" "-X=go.jolheiser.com/git-age/cmd.version=${version}"];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "git-crypt, but with age";
|
||||||
|
homepage = "https://git.jojodev.com/jolheiser/git-age";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue