depot/third_party/nixpkgs/pkgs/by-name/do/door-knocker/package.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

50 lines
933 B
Nix

{ stdenv
, lib
, fetchFromGitea
, blueprint-compiler
, desktop-file-utils
, glib
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "door-knocker";
version = "0.4.3";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "tytan652";
repo = "door-knocker";
rev = finalAttrs.version;
hash = "sha256-/C5dNoEAKf0kok+L6/GaA02yrc8e1PUwK9HYaOwjqIM=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
desktop-file-utils
blueprint-compiler
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
libadwaita
];
meta = with lib; {
description = "Tool to check the availability of portals";
homepage = "https://codeberg.org/tytan652/door-knocker";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ symphorien ];
platforms = platforms.linux;
mainProgram = "door-knocker";
};
})