weakbox.nix (395B) download
1{ pkgs ? import <nixpkgs> { }, config ? { } }:
2
3with pkgs; stdenv.mkDerivation rec {
4 name = "weakbox";
5 src = fetchGit {
6 url = "https://git.friedelschoen.io/weakbox";
7 rev = "8f7e0468e1fc92e57c8a77f1a49a67846fcce114";
8 };
9
10 buildInputs = [ ];
11
12 buildPhase = ''
13 make all
14 '';
15
16 installPhase = ''
17 mkdir -p $out/bin/ $out/share/man/man1/
18 make PREFIX=$out install
19 '';
20}