nix-config/pkgs/dragger/default.nix

30 lines
625 B
Nix
Raw Normal View History

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}";
2023-04-01 17:33:26 +02:00
hash = "sha256-WAC720DxfkQxy1BeeGzE6IerFb4ejoMRAPEJv5HGDHM=";
2021-10-08 14:59:03 +02:00
};
configurePhase = ''
qmake
'';
installPhase = ''
mkdir -p $out/bin
cp dragger $out/bin
'';
meta = with lib; {
description = "A CLI drag-and-drop tool";
homepage = "https://git.belanyi.fr/ambroisie/dragger";
2021-10-08 14:59:03 +02:00
license = licenses.mit;
2022-05-15 17:13:30 +02:00
maintainers = with maintainers; [ ambroisie ];
platforms = platforms.linux;
2021-10-08 14:59:03 +02:00
};
}