nur-packages

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

commit ab769df08940722943e55113c1e295c596da1df7
parent 3a250e0a7e434c00e387ed39922c5ea450d66564
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 28 Oct 2020 01:16:34 +0300

Add amethyst-bin

Diffstat:
Apkgs/applications/window-managers/amethyst/bin.nix | 35+++++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/window-managers/amethyst/bin.nix b/pkgs/applications/window-managers/amethyst/bin.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchfromgh, unzip }: +let + pname = "Amethyst"; + version = "0.15.4"; + sha256 = "16n5vdyjs6m4saqibv3fb420w6x83lsiw182qm3prnilh4q9qld3"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchfromgh { + owner = "ianyh"; + repo = pname; + version = "v${version}"; + name = "Amethyst.zip"; + inherit sha256; + }; + + unpackPhase = "${unzip}/bin/unzip $src"; + + installPhase = '' + mkdir -p $out/Applications + cp -r Amethyst.app $out/Applications + ''; + + preferLocalBuild = true; + + meta = with stdenv.lib; { + description = "Automatic tiling window manager for macOS à la xmonad"; + homepage = "https://ianyh.com/amethyst/"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = [ "x86_64-darwin" ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -8,6 +8,7 @@ lib.makeScope newScope ( ### APPLICATIONS + amethyst-bin = callPackage ./applications/window-managers/amethyst/bin.nix { }; anki-bin = callPackage ./applications/anki/bin.nix { }; basecamp = callPackage ./applications/gis/basecamp { }; goldencheetah-bin = callPackage ./applications/goldencheetah/bin.nix { };