42 lines
644 B
Nix
42 lines
644 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
|
|
pkgconf,
|
|
pkg-config,
|
|
wayland-scanner,
|
|
|
|
systemd,
|
|
libbsd,
|
|
wayland,
|
|
wayland-protocols,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "caffeinated";
|
|
version = "2022-12-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "electrickite";
|
|
repo = "caffeinated";
|
|
rev = "5a8eff054bdce225a19cf3ab785dc1bbc9bd3265";
|
|
hash = "sha256-X1w/YWljcwb5ZH8Nt92CDhPU/yqBLH3lBS7yVJUeyzY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconf
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
systemd
|
|
libbsd
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
makeFlags = [ "WAYLAND=1" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
}
|