nix-config/pkgs/dragger/default.nix

30 lines
618 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, qt5, stdenv }:
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 ];
platforms = platforms.linux;
2021-10-08 14:59:03 +02:00
};
}