nur-packages

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

commit 23f16c20eda217522800187f5ad8bf5f5d9a1a23
parent 3bb860f4feaf0ea09a48aa23ebb9008217c12079
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 13 Nov 2022 23:37:52 +0300

Add marta

Diffstat:
Apkgs/darwin/marta/default.nix | 29+++++++++++++++++++++++++++++
Mpkgs/default.nix | 4++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/pkgs/darwin/marta/default.nix b/pkgs/darwin/marta/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchurl, undmg }: + +stdenv.mkDerivation rec { + pname = "marta-bin"; + version = "0.8.1"; + + src = fetchurl { + url = "https://updates.marta.sh/release/Marta-${version}.dmg"; + hash = "sha256-DbNkvLCy6q0CN8b4+8oheM4EaaLAQvH3O5zWVYxEyh8="; + }; + + nativeBuildInputs = [ undmg ]; + + sourceRoot = "."; + + installPhase = '' + mkdir -p $out/Applications + cp -r *.app $out/Applications + ''; + + meta = with lib; { + description = "File Manager for macOS"; + homepage = "https://marta.sh/"; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = [ "x86_64-darwin" ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -25,6 +25,10 @@ lib.makeScope newScope ( fetchwebarchive = callPackage ./build-support/fetchwebarchive { }; fetchymaps = callPackage ./build-support/fetchymaps { }; + ### DARWIN + + marta-bin = callPackage ./darwin/marta { }; + ### DATA dadako = callPackage ./data/dicts/dadako { };