3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/dragon-drop/default.nix

29 lines
676 B
Nix
Raw Normal View History

{ lib, stdenv, gtk, pkg-config, fetchFromGitHub }:
2015-10-30 17:42:24 +00:00
stdenv.mkDerivation rec {
pname = "dragon-drop";
version = "1.1.1";
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 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
2015-10-30 17:42:24 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk ];
2015-10-30 17:42:24 +00:00
installPhase = ''
install -D dragon -t $out/bin
2015-10-30 17:42:24 +00:00
'';
meta = with lib; {
2015-10-30 17:42:24 +00:00
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
};
}