nixpkgs/pkgs/applications/misc/wlclock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
901 B
Nix
Raw Normal View History

2022-03-20 13:46:39 +00:00
{ lib
, stdenv
, fetchFromSourcehut
, meson
, ninja
, cmake
, pkg-config
2023-04-22 11:20:49 +00:00
, wayland-scanner
2022-03-20 13:46:39 +00:00
, 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=";
};
2023-04-22 11:20:49 +00:00
depsBuildBuild = [
pkg-config
];
2022-03-20 13:46:39 +00:00
nativeBuildInputs = [
meson
ninja
cmake
pkg-config
2023-04-22 11:20:49 +00:00
scdoc
wayland-scanner
2022-03-20 13:46:39 +00:00
];
buildInputs = [
wayland-protocols
wayland
cairo
];
meta = with lib; {
description = "A 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;
2024-02-11 02:19:15 +00:00
mainProgram = "wlclock";
2022-03-20 13:46:39 +00:00
};
}