nur-packages

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

commit dc74be9e1088841862170a530adc99c97c340446
parent 02fbceae28488f952bd51cdb4fcaa3cb967b9c36
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 10 Mar 2021 09:55:56 +0300

Add playonmac

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/playonmac/default.nix | 33+++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -239,6 +239,7 @@ lib.makeScope newScope ( lazyscraper = callPackage ./misc/lazyscraper { }; morse-talk = callPackage ./misc/morse-talk { }; musig = callPackage ./misc/musig { }; + playonmac = callPackage ./misc/playonmac { }; polyvectorization = libsForQt5.callPackage ./misc/polyvectorization { inherit sources; }; diff --git a/pkgs/misc/playonmac/default.nix b/pkgs/misc/playonmac/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchurl, undmg }: + +stdenv.mkDerivation rec { + pname = "playonmac"; + version = "4.3.3"; + + src = fetchurl { + url = "https://repository.playonmac.com/PlayOnMac/PlayOnMac_${version}.dmg"; + sha256 = "11gdw7y8f281gpp8vlyrhjaghlaqaxaqq373z7d31rzx7vq9jl3r"; + }; + + sourceRoot = "."; + + nativeBuildInputs = [ undmg ]; + + installPhase = '' + mkdir -p $out/Applications + cp -r *.app $out/Applications + ''; + + dontPatchShebangs = true; + + preferLocalBuild = true; + + meta = with lib; { + description = "GUI for managing Windows programs under macOS"; + homepage = "https://www.playonmac.com/"; + license = licenses.gpl3; + maintainers = [ maintainers.sikmir ]; + platforms = [ "x86_64-darwin" ]; + skip.ci = true; + }; +}