2015-10-30 10:42:24 -07:00
|
|
|
{ stdenv, gtk, pkgconfig, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "dragon-drop";
|
2019-11-14 13:25:40 -08:00
|
|
|
version = "1.1.1";
|
2015-10-30 10:42:24 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mwh";
|
|
|
|
repo = "dragon";
|
2019-07-27 00:54:31 -07:00
|
|
|
rev = "v${version}";
|
2019-11-14 13:25:40 -08:00
|
|
|
sha256 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
|
2015-10-30 10:42:24 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk ];
|
2015-10-30 10:42:24 -07:00
|
|
|
|
|
|
|
installPhase = ''
|
2019-11-14 13:25:40 -08:00
|
|
|
install -D dragon -t $out/bin
|
2015-10-30 10:42:24 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple drag-and-drop source/sink for X";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/mwh/dragon";
|
2019-07-27 00:54:31 -07:00
|
|
|
maintainers = with maintainers; [ jb55 markus1189 ];
|
2015-10-30 10:42:24 -07:00
|
|
|
license = licenses.gpl3;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = with platforms; unix;
|
2015-10-30 10:42:24 -07:00
|
|
|
};
|
|
|
|
}
|