From ee0f7c7ce62604906b46f4621c264fc60e995730 Mon Sep 17 00:00:00 2001 From: nova madeline <126072875+nova-r@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:03:07 +0200 Subject: [PATCH] valeronoi: init at 0.1.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mæve Rey <42996147+m-rey@users.noreply.github.com> --- pkgs/tools/misc/valeronoi/default.nix | 52 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 54 insertions(+) create mode 100644 pkgs/tools/misc/valeronoi/default.nix diff --git a/pkgs/tools/misc/valeronoi/default.nix b/pkgs/tools/misc/valeronoi/default.nix new file mode 100644 index 000000000000..95669bbeeb32 --- /dev/null +++ b/pkgs/tools/misc/valeronoi/default.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchFromGitHub +, boost +, cgal +, cmake +, copyDesktopItems +, gpp +, mpfr +, qtbase +, qtimageformats +, qtsvg +, wrapQtAppsHook +}: + +stdenv.mkDerivation rec { + pname = "valeronoi"; + version = "0.1.9"; + + src = fetchFromGitHub { + owner = "ccoors"; + repo = pname; + rev = "refs/tags/v${version}"; + sha256 = "sha256-Xa70kOPQLavuJTF9PxCgpKYj15C2fna++cFlCId0a08="; + }; + + buildInputs = [ + boost + cgal + gpp + mpfr + qtbase + qtimageformats + qtsvg + ]; + + nativeBuildInputs = [ + cmake + copyDesktopItems + wrapQtAppsHook + ]; + + doCheck = true; + + meta = with lib; { + homepage = "https://github.com/ccoors/Valeronoi/"; + description = "A WiFi mapping companion app for Valetudo"; + license = licenses.gpl3Only; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ nova-madeline maeve ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b38eed7e6f2a..8f569e39e83c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1861,6 +1861,8 @@ with pkgs; unflac = callPackage ../tools/audio/unflac { }; + valeronoi = qt6Packages.callPackage ../tools/misc/valeronoi { }; + veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; ventoy = callPackage ../tools/cd-dvd/ventoy { };