nur-packages

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

commit 171ed12c5decc84ec0dc1e868c1084fe7dbe0726
parent c2a537e386c2b4a8118c7e5556e6ca006c8ddd40
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun, 14 Nov 2021 22:34:35 +0300

Add pista

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/pista/default.nix | 28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -349,6 +349,7 @@ lib.makeScope newScope ( lacc = callPackage ./suckless/lacc { }; lel = callPackage ./suckless/lel { }; libst = callPackage ./suckless/libst { }; + pista = callPackage ./suckless/pista { }; quark = callPackage ./suckless/quark { }; saait = callPackage ./suckless/saait { }; sbase = callPackage ./suckless/sbase { }; diff --git a/pkgs/suckless/pista/default.nix b/pkgs/suckless/pista/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, libX11 }: + +stdenv.mkDerivation rec { + pname = "pista"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "xandkar"; + repo = pname; + rev = version; + sha256 = "sha256-Bdi9gLG4KG1BEk8BcU0FYg6Si7SF8YKN5iIafkTqlWk="; + }; + + buildInputs = [ libX11 ]; + + installPhase = '' + install -Dm755 pista -t $out/bin + ''; + + meta = with lib; { + description = "Piped status: the ii of status bars!"; + inherit (src.meta) homepage; + license = licenses.bsd3; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + skip.ci = stdenv.isDarwin; + }; +}