Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 27 insertions, 0 deletions
-rw-r--r--modules/personal/cli-linux.nix1
-rw-r--r--packages/nombrero/default.nix26
diff --git a/modules/personal/cli-linux.nix b/modules/personal/cli-linux.nix
index 0600bf0..1289209 100644
--- a/modules/personal/cli-linux.nix
+++ b/modules/personal/cli-linux.nix
@@ -77,6 +77,7 @@
xmlstarlet # edit and query xml
pandoc # document converter
aspell # spelling program
+ nombrero
];
programs = {
diff --git a/packages/nombrero/default.nix b/packages/nombrero/default.nix
new file mode 100644
index 0000000..de31bb4
--- /dev/null
+++ b/packages/nombrero/default.nix
@@ -0,0 +1,26 @@
+{
+ stdenv,
+ fetchFromGitLab,
+ flex,
+ bison,
+ ...
+}:
+stdenv.mkDerivation {
+ pname = "nombrero";
+ version = "latest";
+
+ src = fetchFromGitLab {
+ owner = "Syndamia";
+ repo = "nombrero";
+ rev = "4ed6b817dcfd3d87a179bd2ae6811181df70f351";
+ hash = "sha256-gw+EpzXr3ybvEgfYrtK8Lb7Q3vuYtAnb6ualcrIO8ps=";
+ };
+
+ buildInputs = [
+ flex
+ bison
+ ];
+
+ env.PREFIX = "$$out";
+}
+