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