nur @main -
refs -
log -
-
https://git.jolheiser.com/nur.git
My NUR
feat: godap
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmX7J08ACgkQuFOtpdp7
v3rnaQ//Wh1oXGyAsYH4ooiJBWMM61UwrKgkP3c1UiSoNYAfuGRaac+KgrnbwzqY
eCfxrt/krRazwzcF0aB3Z+93VvlqnpIJjaOs8Hi9hHD20nN13GwTgxYbgZImnUwf
yVHI+QiFlIqC1trdoYuO4R+UTL2f4rVeuR1t6jj9ufz1w+fbfhB180MPlpeORKjP
iqyRnp0/occCQr7vnnCUS4baSWPkPBPXrEOxxX3MIm4tiHRF15YJIkEBYrPF7QAq
r8wDUpUJa/YO7mtQ1sWPaoa83fW7+lHy35NjJhysY4/3Zw/QHYk+FMV8FdjaewJH
CwusNbNrvgJIBPNv3k78gWi+KA9hfOs+FQH+XLKuqqV70EqnjVZUV0DVaBBj9+Zs
s7JwTG+8vBQBgUuy9ZhOiaD2j0dlnufOwJBhqLHQmYB4Ev+DtaNS4MsgrwBHNBZt
fq/uZkPeCjMaQD/k3+/C9on9gkaKlYGm7j1QjlnowFpBoUkDI3vMp1K3+1DKoUJw
6N+K9Bxgkgg6Lr9C+irL9kAzY/7upAOK0DxH1e6j6PslF+D78Af/XKz74Jxf+3Mb
sFnQmPIwzqzjfZn359s3WXHAZzSLgt1wwjObzLZMFTLs3ZRSoOwmLTAHbjkOtjCD
q+IS+ca/vywT8Sr2trzIIedyjNDhGCvUg67qTGzeEsL9HWQu5ic=
=TN1U
-----END PGP SIGNATURE-----
4 changed files, 30 additions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 84a09e56324985bf9801c324cc716f4532266117..b672fb2ab30644c6444dea519cc0fde7a6e0ce8f 100644
--- a/README.md
+++ b/README.md
@@ -2,5 +2,6 @@ # jolheiser NUR
|Package|Version|
|-------|-------|
+|[godap](https://github.com/Macmod/godap)|`2.3.0`|
|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`0a85d2a0136fc0d3312c3ba59d8e5d864e601db5`|
diff --git a/default.nix b/default.nix
index 7fdbe028b1a4c0ac8f835beb22a7049dbd13a28c..202f43ffe05422a7eeec41cba1d9701921db4bbd 100644
--- a/default.nix
+++ b/default.nix
@@ -1,15 +1,5 @@
-# This file describes your repository contents.
-# It should return a set of nix derivations
-# and optionally the special attributes `lib`, `modules` and `overlays`.
-# It should NOT import <nixpkgs>. Instead, you should take pkgs as an argument.
-# Having pkgs default to <nixpkgs> is fine though, and it lets you use short
-# commands such as:
-# nix-build -A mypackage
{pkgs ? import <nixpkgs> {}}: {
- # The `lib`, `modules`, and `overlay` names are special
# This file describes your repository contents.
- modules = import ./modules; # NixOS modules
- overlays = import ./overlays; # nixpkgs overlays
-
+# commands such as:
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
}
diff --git a/flake.lock b/flake.lock
index 4fb6aebb98cfed14e6c5d1d83f2ed7fcc5d74ce3..a32527e8e5f1c3f6f73753a0c828938103d1bb20 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2,11 +2,12 @@ {
"nodes": {
"nixpkgs": {
"locked": {
+ "lastModified": 1710889954,
+ "nodes": {
"lastModified": 1694593561,
- "narHash": "sha256-WSaIQZ5s9N9bDFkEMTw6P9eaZ9bv39ZhsiW12GtTNM0=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "1697b7d480449b01111e352021f46e5879e47643",
+ "rev": "7872526e9c5332274ea5932a0c3270d6e4724f3b",
"type": "github"
},
"original": {
diff --git a/pkgs/godap/default.nix b/pkgs/godap/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2563baff6df7e2bf3b2e1aaa68276d6dfbcf0fca
--- /dev/null
+++ b/pkgs/godap/default.nix
@@ -0,0 +1,25 @@
+{
+ buildGoModule,
+ fetchFromGitHub,
+ lib,
+ ...
+}:
+buildGoModule rec {
+ pname = "godap";
+ version = "2.3.0";
+
+ src = fetchFromGitHub {
+ owner = "Macmod";
+ repo = "godap";
+ rev = "v${version}";
+ sha256 = "sha256-lEiJbeqIzvctFmC9OriO64lt+pZkxZCPSW56H7vgBBo=";
+ };
+
+ vendorHash = "sha256-m536HECHpHRo/KPR/qhF40v3TsuTW3wghZu2pBYCJcQ=";
+
+ meta = with lib; {
+ description = "A complete TUI for LDAP.";
+ homepage = "https://github.com/Macmod/godap";
+ license = licenses.mit;
+ };
+}