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

29 lines
674 B
Nix
Raw Normal View History

{ lib, stdenv, gtk, pkgconfig, fetchFromGitHub }:
2015-10-30 18:42:24 +01:00
stdenv.mkDerivation rec {
pname = "dragon-drop";
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}";
sha256 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
2015-10-30 18:42:24 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk ];
2015-10-30 18:42:24 +01:00
installPhase = ''
install -D dragon -t $out/bin
2015-10-30 18:42:24 +01:00
'';
meta = with lib; {
2015-10-30 18:42:24 +01:00
description = "Simple drag-and-drop source/sink for X";
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;
platforms = with platforms; unix;
2015-10-30 18:42:24 +01:00
};
}