commit 2e68658ca1a5a6c03e0477eaf44a6c02bf297b45
parent 3183a23da07fecf85425456b1cb3989d545de5d0
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 11 Nov 2020 02:33:42 +0300
Add klogg-bin
Diffstat:
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/pkgs/applications/misc/klogg/bin.nix b/pkgs/applications/misc/klogg/bin.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchfromgh, undmg, sources }:
+let
+ pname = "klogg";
+ version = "20.4";
+in
+stdenv.mkDerivation {
+ inherit pname version;
+
+ src = fetchfromgh {
+ owner = "variar";
+ repo = pname;
+ version = "v${version}";
+ name = "klogg-${version}.0-r589-OSX.dmg";
+ sha256 = "1z4jl43iny218wid5s8i11l16db6hfnynkh7hrdna81abd9gfq9n";
+ };
+
+ preferLocalBuild = true;
+
+ nativeBuildInputs = [ undmg ];
+
+ sourceRoot = "klogg.app";
+
+ installPhase = ''
+ mkdir -p $out/Applications/klogg.app
+ cp -R . $out/Applications/klogg.app
+ '';
+
+ meta = with stdenv.lib; {
+ inherit (sources.klogg) description homepage;
+ license = licenses.gpl3Plus;
+ platforms = [ "x86_64-darwin" ];
+ maintainers = [ maintainers.sikmir ];
+ skip.ci = true;
+ };
+}
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -25,6 +25,7 @@ lib.makeScope newScope (
klogg = libsForQt5.callPackage ./applications/misc/klogg {
inherit sources;
};
+ klogg-bin = callPackage ./applications/misc/klogg/bin.nix { };
librewolf = callPackage ./applications/networking/librewolf { };
macpass-bin = callPackage ./applications/macpass/bin.nix { };
mapsoft = callPackage ./applications/gis/mapsoft { };