nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (617B)


      1 { lib, stdenv, fetchFromGitHub, libX11 }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "pista";
      5   version = "0.2.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "xandkar";
      9     repo = "pista";
     10     rev = version;
     11     hash = "sha256-lre6SIVyxCwEohLlvSfYs+JnHS1VXTbl3FlUNZ3TGy4=";
     12   };
     13 
     14   buildInputs = [ libX11 ];
     15 
     16   installPhase = ''
     17     install -Dm755 pista -t $out/bin
     18   '';
     19 
     20   meta = with lib; {
     21     description = "Piped status: the ii of status bars!";
     22     inherit (src.meta) homepage;
     23     license = licenses.bsd3;
     24     maintainers = [ maintainers.sikmir ];
     25     platforms = platforms.linux;
     26     skip.ci = stdenv.isDarwin;
     27   };
     28 }