diary-unstable.nix (571B)
1 let 2 pkgs = import <nixpkgs> { }; 3 in 4 pkgs.stdenv.mkDerivation { 5 name = "diary"; 6 version = "v0.14-unstable"; 7 buildInputs = with pkgs; [ 8 pkg-config 9 ncurses 10 curlFull 11 libxml2 12 lttng-ust 13 ]; 14 15 src = pkgs.fetchgit { 16 url = "https://git.in0rdr.ch/diary.git"; 17 hash = "sha256-EIL9L/x456e350V1/3DT7sUS7ruytXyR0t3zXferyPc="; 18 }; 19 20 installPhase = '' 21 install -d $out/bin 22 install -d $out/share/man/man1 23 install -m755 diary $out/bin/ 24 install -m644 man1/diary.1 $out/share/man/man1/ 25 ''; 26 } 27