mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
43 lines
951 B
Nix
43 lines
951 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, cairo
|
|
, gdk-pixbuf
|
|
, wayland
|
|
, wayland-protocols
|
|
, wayland-scanner
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "oguri";
|
|
version = "unstable-2020-12-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vilhalmer";
|
|
repo = pname;
|
|
rev = "6937fee10a9b0ef3ad8f94f606c0e0d9e7dec564";
|
|
sha256 = "sXNvpI/YPDPd2cXQAfRO4ut21gSCXxbo1DpaZmHJDYQ=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
|
|
buildInputs = [
|
|
cairo
|
|
gdk-pixbuf
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vilhalmer/oguri/";
|
|
description = "Very nice animated wallpaper daemon for Wayland compositors";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
inherit (wayland.meta) platforms;
|
|
broken = stdenv.isDarwin; # this should be enfoced by wayland platforms in the future
|
|
};
|
|
}
|