nixpkgs/pkgs/applications/window-managers/lesbar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
800 B
Nix
Raw Normal View History

2023-10-07 15:07:38 +02:00
{ lib
, stdenv
, fetchFromSourcehut
, pkg-config
, scdoc
, libX11
, cairo
, pango
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lesbar";
version = "1.1.0";
src = fetchFromSourcehut {
owner = "~salmiak";
repo = "lesbar";
rev = "v${finalAttrs.version}";
hash = "sha256-uggIoO6rgotkLi6lSJTR4d3NtidXsAC1Kjay9YsT9ps=";
};
nativeBuildInputs = [ pkg-config scdoc ];
buildInputs = [ libX11 cairo pango ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A programming language agnostic view layer for creating desktop widgets and status bars";
homepage = "https://git.sr.ht/~salmiak/lesbar";
license = licenses.mit;
maintainers = with maintainers; [ jpentland ];
platforms = platforms.linux;
2023-11-27 02:17:53 +01:00
mainProgram = "lesbar";
2023-10-07 15:07:38 +02:00
};
})