mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
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:
parent
2b6f959c3b
commit
8f729e53bc
28
pkgs/applications/misc/xdragon/default.nix
Normal file
28
pkgs/applications/misc/xdragon/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user