mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +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/'
54 lines
899 B
Nix
54 lines
899 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, meson
|
|
, ninja
|
|
, cmake
|
|
, pkg-config
|
|
, wayland-scanner
|
|
, wayland-protocols
|
|
, wayland
|
|
, cairo
|
|
, scdoc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wlclock";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~leon_plickat";
|
|
repo = "wlclock";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aHA4kXHYH+KvAJSep5X3DqsiK6WFpXr3rGQl/KNiUcY=";
|
|
};
|
|
|
|
depsBuildBuild = [
|
|
pkg-config
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
cmake
|
|
pkg-config
|
|
scdoc
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
wayland-protocols
|
|
wayland
|
|
cairo
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Digital analog clock for Wayland desktops";
|
|
homepage = "https://git.sr.ht/~leon_plickat/wlclock";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ nomisiv ];
|
|
platforms = with platforms; linux;
|
|
mainProgram = "wlclock";
|
|
};
|
|
}
|