Skip to content

Commit

Permalink
numi: init at 3.32.721
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
  • Loading branch information
DontEatOreo and sikmir committed Jun 8, 2024
1 parent 54908bc commit 922322c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/nu/numi/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchurl,
undmg,
nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "numi";
version = "3.32.721";

src = fetchurl {
url = "https://s3.numi.app/updates/${finalAttrs.version}/Numi.dmg";
hash = "sha256-IbX4nsrPqwOSlYdNJLeaRQwIDVJrzfMXFqRqixHd2zA=";
};

nativeBuildInputs = [ undmg ];

sourceRoot = ".";

installPhase = ''
runHook preInstall
mkdir -p "$out/Applications"
cp -R *.app "$out/Applications"
runHook postInstall
'';

passthru.updateScript = nix-update-script { };

meta = {
description = "Beautiful calculator app for macOS";
homepage = "https://numi.app/";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ donteatoreo ];
platforms = lib.platforms.darwin;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})

0 comments on commit 922322c

Please sign in to comment.