sandbar: init at 0.1
This commit is contained in:
parent
48913e107e
commit
fb5fba3b31
1 changed files with 47 additions and 0 deletions
47
pkgs/by-name/sa/sandbar/package.nix
Normal file
47
pkgs/by-name/sa/sandbar/package.nix
Normal file
|
@ -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";
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue