nixpkgs

My nixpkg collection
git clone https://git.in0rdr.ch/nixpkgs.git
Log | Files | Refs | README

commit 55fe350166d11dd402a3a2034818fd3f1c6317f0
parent 056b0bb0a93766fcbcf970a94dc9a9a63e7649d9
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Fri,  7 Jun 2024 13:28:13 +0200

feat: add diary stable

Diffstat:
MREADME | 4++--
Adiary/default.nix | 26++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -4,8 +4,8 @@ My nixpkg collection This is my collection of nixpkgs. A place where I goof around, mostly. Collection: -* diary -* oama +* diary (https://diary.p0c.ch) +* oama (https://github.com/pdobsan/oama) * babeltrace2 (https://search.nixos.org/packages?query=babeltrace) Further links: diff --git a/diary/default.nix b/diary/default.nix @@ -0,0 +1,26 @@ +let + pkgs = import <nixpkgs> { }; +in + pkgs.stdenv.mkDerivation { + name = "diary"; + version = "v0.10"; + buildInputs = with pkgs; [ + ncurses + curlFull + lttng-ust + ]; + + src = pkgs.fetchgit { + url = "https://git.in0rdr.ch/diary.git"; + rev = "refs/tags/v0.10"; + hash = "sha256-jDPfqUjf0ZETYqPxvEJ2/YFFjNsF7yvVQiThc5yMvjc="; + }; + + installPhase = '' + install -d $out/bin + install -d $out/share/man/man1 + install -m755 diary $out/bin/ + install -m644 man1/diary.1 $out/share/man/man1/ + ''; + } +