nur-packages

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

default.nix (667B)


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