nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d8dd279728a396e9239e72188ad37478b9081022
parent 7995301b127c5d67fdec03858323fd81ecfea578
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 22 Apr 2020 23:07:57 +0300

Add macpass

Diffstat:
Apkgs/applications/macpass/default.nix | 27+++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/macpass/default.nix b/pkgs/applications/macpass/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + pname = "MacPass"; + version = "0.7.12"; + + src = fetchurl { + url = "https://github.com/MacPass/MacPass/releases/download/${version}/${pname}-${version}.zip"; + sha256 = "1gikixbrz1pvyjspp62msdmhjdy1rfkx8jhy7rajjr8bzm8pzpmc"; + }; + + dontUnpack = true; + dontBuild = true; + + installPhase = '' + mkdir -p $out/Applications + ${unzip}/bin/unzip $src -d $out/Applications + ''; + + meta = with stdenv.lib; { + description = "A native OS X KeePass client"; + homepage = "https://macpassapp.org/"; + license = licenses.gpl3; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.darwin; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -14,6 +14,7 @@ lib.makeScope newScope ( gpxsee = libsForQt5.callPackage ./applications/gpxsee { inherit sources; }; + macpass = callPackage ./applications/macpass {}; mapsoft = callPackage ./applications/mapsoft {}; mapsoft2 = callPackage ./applications/mapsoft/2.nix {}; openorienteering-mapper = libsForQt5.callPackage ./applications/openorienteering-mapper {