xdragon: Init at 1.1.1

The package is renamed from `dragon` to prevent name conflicts with the
existing package as recommended in [1].

1: https://github.com/mwh/dragon/issues/17
This commit is contained in:
Janne Heß 2020-08-21 21:51:40 +02:00
parent 2b6f959c3b
commit 8f729e53bc
No known key found for this signature in database
GPG Key ID: 69165158F05265DF
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, pkg-config, gtk3 }:
stdenv.mkDerivation rec {
pname = "xdragon";
version = "1.1.1";
src = fetchFromGitHub {
owner = "mwh";
repo = "dragon";
rev = "v${version}";
sha256 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3 ];
installFlags = [ "PREFIX=${placeholder "out"}/bin" ];
postInstall = ''
ln -s $out/bin/dragon $out/bin/xdragon
'';
meta = with stdenv.lib; {
description = "Simple drag-and-drop source/sink for X (called dragon in upstream)";
homepage = "https://github.com/mwh/dragon";
license = licenses.gpl3;
maintainers = with maintainers; [ das_j ];
};
}

View File

@ -26872,6 +26872,8 @@ in
sift = callPackage ../tools/text/sift { };
xdragon = lowPrio (callPackage ../applications/misc/xdragon { });
xlockmore = callPackage ../misc/screensavers/xlockmore { };
xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { };