nur @main -
refs -
log -
-
https://git.jolheiser.com/nur.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTivrAACgkQuFOtpdp7
v3qm1RAA0TUZSSrMmn055lx3rUwrp9jYdSDUGIfPBNadGuMTcSZHXV556mwKNlFr
Kw1CZsSc7OdE+U2tRGh1O6gD4KPcFOqgcYqRsHDQ6LanbsQL9gQcbgz+dDw5ETiO
CxTB2HMMpfpYAQxa2fDfaMNRdZOWBe3a/Y1mUYoNwDtA5BHPEsIcNS+vlYnZUUZI
3EdPxekVRiSPbO0LXGKf9ToTJG6GZMwH1al222dlvpd6R5H195Ntch1tailu50gp
payFV1nRD14VLgDkqekdsKnMdMzSmMC1EMvAZPb1KmRzECzXOPnFpkR4FN6hR7d5
NZ9JEmQmczEiEQ10sENl1GYaYTPezLsS1Vytus41pmLR/k5f7kWvQyAxHIBgw/lm
JzdqT7JW95V9/Ehw2NyQ1X/MqKZ5HpFFlQgo7YZlsSSWleAxHxqa4NqYB7g/sJYn
KMPZQFnp2JlqhIRPEOxxnWXNCDvkveD8iTZgT2DR3oQnjRGojDJhAN06WLcHWVEr
8STud2Ub9Dhv3Js8hhw0UesXcyLeN25ihJZ5BYheqc5y5mqVRpki/g4BBFXahzhN
18oz2uJKAJkk+2wiq7rg56FokzPs+sZYg8W0AEPLNkEeqGO94qUx2Qm6FY0t+tGU
Cgk/r4TicnowFF9K8sa6bMEcav5uZt53SEQV1pZ/moW8TrpHQbM=
=QQKu
-----END PGP SIGNATURE-----
diff --git a/default.nix b/default.nix
index e6f10f2c35ada9a92f2e206dd238dc531c408aa5..aa75767139a638ed0c6b19dba57e86a7cf4222f0 100644
--- a/default.nix
+++ b/default.nix
@@ -15,6 +15,7 @@ # Personal projects
git-age = pkgs.callPackage ./pkgs/git-age {};
gomodinit = pkgs.callPackage ./pkgs/gomodinit {};
imp = pkgs.callPackage ./pkgs/imp {};
+ kv = pkgs.callPackage ./pkgs/kx {};
tmpl = pkgs.callPackage ./pkgs/tmpl {};
# Other projects
diff --git a/pkgs/kv/default.nix b/pkgs/kv/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fbe29d809473c34e63defc552d755d0ff89f354c
--- /dev/null
+++ b/pkgs/kv/default.nix
@@ -0,0 +1,33 @@
+{
+ buildGoModule,
+ fetchFromGitea,
+ lib,
+ ...
+}:
+buildGoModule rec {
+ pname = "kv";
+ version = "0.0.3";
+
+ src = fetchFromGitea {
+ domain = "git.jojodev.com";
+ owner = "jolheiser";
+ repo = "kv";
+ rev = "v${version}";
+ sha256 = "sha256-55He6BT9QgcJ20Ia7SQFMUmLkwDooD5ICCfLq7kk+FM=";
+ };
+
+ vendorSha256 = "sha256-COA/YSyJanoxvYG3LFmp9eCwVJuqI9PZV1fLOs4MSPo=";
+
+ ldflags = ["-s" "-w" "-X=main.Version=${version}"];
+
+ postInstall = ''
+ mkdir -p $out/share
+ cp -vr ./contrib/kv-completions.nu $out/share/kv-completions.nu
+ '';
+
+ meta = with lib; {
+ description = "Key/Value store";
+ homepage = "https://git.jojodev.com/jolheiser/kv";
+ license = licenses.mit;
+ };
+}