dotfiles

My beautiful configs and dotfiles managed by Nix' home-manager
Log | Files | Refs | README | LICENSE

textselect.nix (383B)


      1 { pkgs
      2 , stdenv
      3 }:
      4 
      5 stdenv.mkDerivation rec {
      6   name = "weakbox";
      7   src = fetchGit {
      8     url = "https://github.com/friedelschoen/textselect";
      9     rev = "6131d1ae07f5af71f2df14a5f82a9e64b7ea5ebe";
     10   };
     11 
     12   buildInputs = with pkgs;  [ ncurses ];
     13 
     14   buildPhase = ''
     15     make all
     16   '';
     17 
     18   installPhase = ''
     19     mkdir -p $out/bin/ $out/share/man/man1/
     20     make PREFIX=$out install
     21   '';
     22 }