personal/dotfiles

pkgs/weakbox.nix in master
Repositories | Summary | Log | Files | README.md | LICENSE

weakbox.nix (339B) download


 1{ pkgs
 2, stdenv
 3}:
 4
 5stdenv.mkDerivation rec {
 6  name = "weakbox";
 7  src = fetchGit {
 8    url = "https://git.friedelschoen.io/util/weakbox";
 9    rev = "8f7e0468e1fc92e57c8a77f1a49a67846fcce114";
10  };
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}