6b9390f253
Fixes segfault which would make the program unusable.
29 lines
674 B
Nix
29 lines
674 B
Nix
{ stdenv, gtk, pkgconfig, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dragon-drop";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mwh";
|
|
repo = "dragon";
|
|
rev = "v${version}";
|
|
sha256 = "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk ];
|
|
|
|
installPhase = ''
|
|
install -D dragon -t $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simple drag-and-drop source/sink for X";
|
|
homepage = https://github.com/mwh/dragon;
|
|
maintainers = with maintainers; [ jb55 markus1189 ];
|
|
license = licenses.gpl3;
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|