Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
901 B
Nix
41 lines
901 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
gtk3,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dragon-drop";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mwh";
|
|
repo = "dragon";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gtk3 ];
|
|
|
|
makeFlags = [ "NAME=dragon-drop" ];
|
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
postInstall = ''
|
|
ln -s $out/bin/dragon-drop $out/bin/xdragon
|
|
'';
|
|
|
|
meta = {
|
|
description = "Simple drag-and-drop source/sink for X or Wayland (called dragon in upstream)";
|
|
homepage = "https://github.com/mwh/dragon";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [
|
|
das_j
|
|
taliyahwebb
|
|
];
|
|
mainProgram = "dragon-drop";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|