mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
numi: init at 3.32.721
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
This commit is contained in:
parent
54908bccbb
commit
922322cf5e
41
pkgs/by-name/nu/numi/package.nix
Normal file
41
pkgs/by-name/nu/numi/package.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user