nix-config/pkgs/dragger/default.nix
Bruno BELANYI 069987f47e
All checks were successful
continuous-integration/drone/push Build is passing
pkgs: dragger: change platforms to linux
I haven't tested it on darwin, and it just so happens that some
dependency is broken on that system (breaking `nix flake check`)...

Will revisit this later in case I ever happen to use a darwin system.
2021-10-08 19:39:43 +02:00

30 lines
618 B
Nix

{ lib, fetchFromGitHub, qt5, stdenv }:
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;
};
}