diff options
author | Francesco Carmelo Capria <francesco@capria.eu> | 2024-04-18 17:39:32 +0200 |
---|---|---|
committer | Francesco Carmelo Capria <francesco@capria.eu> | 2024-04-19 12:49:42 +0200 |
commit | fb5fba3b3176d58d3efd5751e70a3bbea71b9cc3 (patch) | |
tree | bf59410051cd4b15aef595784eca4a0973ed3765 /pkgs/by-name/sa | |
parent | 48913e107e7994f14e2d6b666015b869cd872101 (diff) |
sandbar: init at 0.1
Diffstat (limited to 'pkgs/by-name/sa')
-rw-r--r-- | pkgs/by-name/sa/sandbar/package.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/sa/sandbar/package.nix b/pkgs/by-name/sa/sandbar/package.nix new file mode 100644 index 0000000000000..8c754289aa001 --- /dev/null +++ b/pkgs/by-name/sa/sandbar/package.nix @@ -0,0 +1,47 @@ +{ + lib, + stdenv, + fetchFromGitHub, + pixman, + fcft, + pkg-config, + wayland-protocols, + wayland-scanner, + wayland +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "sandbar"; + version = "0.1"; + + src = fetchFromGitHub { + owner = "kolunmi"; + repo = "sandbar"; + rev = "v${finalAttrs.version}"; + hash = "sha256-uG+/e75s/OQtEotR+8aXTEjW6p3oJM8btuRNgUVmIiQ="; + }; + + strictDeps = true; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + wayland-scanner + wayland-protocols + wayland + pixman + fcft + ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + homepage = "https://github.com/kolunmi/sandbar"; + description = "DWM-like bar for the river wayland compositor"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ fccapria ]; + platforms = platforms.all; + badPlatforms = platforms.darwin; + mainProgram = "sandbar"; + }; +}) |