pkgs: add dragger
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bruno BELANYI 2021-10-08 14:59:03 +02:00
parent 323e99bbb0
commit 7d787a2770
2 changed files with 31 additions and 0 deletions

View file

@ -6,6 +6,8 @@ pkgs.lib.makeScope pkgs.newScope (pkgs: {
diff-flake = pkgs.callPackage ./diff-flake { };
dragger = pkgs.callPackage ./dragger { };
drone-scp = pkgs.callPackage ./drone-scp { };
ff2mpv-go = pkgs.callPackage ./ff2mpv-go { };

29
pkgs/dragger/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ lib, fetchFromGitHub, qt5 }:
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.all;
};
}