mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
wayneko: init at 0-unstable-2024-03-29
formatted with nixfmt-rfc-style Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
b663d72f08
commit
6c1956f2af
47
pkgs/by-name/wa/wayneko/package.nix
Normal file
47
pkgs/by-name/wa/wayneko/package.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromSourcehut,
|
||||||
|
pixman,
|
||||||
|
pkg-config,
|
||||||
|
wayland,
|
||||||
|
wayland-scanner,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "wayneko";
|
||||||
|
version = "0-unstable-2024-03-29";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~leon_plickat";
|
||||||
|
repo = "wayneko";
|
||||||
|
rev = "c1919dc3a7e610d30e4c06efaa5af85941f27d86";
|
||||||
|
hash = "sha256-2cbEcDK6WZPe4HvY1pxmZVyDAj617VP1l0Gn7uSlNaE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail -Werror ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
wayland-scanner
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pixman
|
||||||
|
wayland
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Neko on Wayland";
|
||||||
|
homepage = "https://sr.ht/~leon_plickat/wayneko";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = with lib.maintainers; [ fgaz ];
|
||||||
|
mainProgram = "wayneko";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user