pkgs: add dragger
This commit is contained in:
parent
cf47817b34
commit
f8f7fb06a7
|
@ -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