2021-11-05 14:14:24 +01:00
|
|
|
{ lib, fetchFromGitHub, qt5, }:
|
2021-10-08 14:59:03 +02:00
|
|
|
qt5.mkDerivation rec {
|
|
|
|
pname = "dragger";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ambroisie";
|
|
|
|
repo = "dragger";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-WAC720DxfkQxy1BeeGzE6IerFb4ejoMRAPEJv5HGDHM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
qmake
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp dragger $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI drag-and-drop tool";
|
|
|
|
homepage = "https://gitea.belanyi.fr/ambroisie/dragger";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ambroisie ];
|
2021-10-08 19:39:43 +02:00
|
|
|
platforms = platforms.linux;
|
2021-10-08 14:59:03 +02:00
|
|
|
};
|
|
|
|
}
|