This commit is contained in:
parent
323e99bbb0
commit
7d787a2770
|
@ -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
29
pkgs/dragger/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue