diff --git a/main/packages.nix b/main/packages.nix index 8e3edd3..dcc9d34 100644 --- a/main/packages.nix +++ b/main/packages.nix @@ -143,6 +143,7 @@ # overlays lpass rfd + srv vpngate ]; diff --git a/overlays/default.nix b/overlays/default.nix index 06ad3ff..13779cd 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,8 +1,9 @@ { ... }: [ - (import ./rfd.nix) (import ./lastpass.nix) + (import ./rfd.nix) + (import ./srv.nix) (import ./vpngate.nix) ] diff --git a/overlays/srv.nix b/overlays/srv.nix new file mode 100644 index 0000000..602d9fc --- /dev/null +++ b/overlays/srv.nix @@ -0,0 +1,26 @@ +self: super: + +rec { + + srv = with self; + buildGoModule rec { + pname = "srv"; + version = "v0.1.2"; + + vendorSha256 = "sha256-ebumpo9hgr7A+Fsznga4ksYu4mcOIfaaKz0uJu2rivE="; + + src = fetchFromGitHub { + owner = "davegallant"; + repo = "srv"; + rev = version; + sha256 = "sha256-x5l/NFEbbRPMBY061g4qRHYV6QUShO7yHqSw+Hir9M0="; + }; + + meta = with super.lib; { + description = "a simple rss viewer"; + license = licenses.unlicense; + maintainers = with maintainers; [ davegallant ]; + platforms = platforms.linux ++ platforms.darwin; + }; + }; +}