nixpkgs/pkgs/tools/X11/dragon-drop/default.nix

30 lines
685 B
Nix
Raw Normal View History

2015-10-30 17:42:24 +00:00
{ stdenv, gtk, pkgconfig, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "dragon-drop";
2019-07-27 08:54:31 +01:00
version = "1.1.0";
2015-10-30 17:42:24 +00:00
src = fetchFromGitHub {
owner = "mwh";
repo = "dragon";
2019-07-27 08:54:31 +01:00
rev = "v${version}";
sha256 = "0iwlrcqvbjshpwvg0gsqdqcjv48q1ary59pm74zzjnr8v9470smr";
2015-10-30 17:42:24 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk ];
2015-10-30 17:42:24 +00:00
installPhase = ''
mkdir -p $out/bin
mv dragon $out/bin
'';
meta = with stdenv.lib; {
description = "Simple drag-and-drop source/sink for X";
homepage = https://github.com/mwh/dragon;
2019-07-27 08:54:31 +01:00
maintainers = with maintainers; [ jb55 markus1189 ];
2015-10-30 17:42:24 +00:00
license = licenses.gpl3;
platforms = with platforms; unix;
2015-10-30 17:42:24 +00:00
};
}