diff options
author | Matteo Pacini | 2024-06-20 10:39:40 +0100 |
---|---|---|
committer | Matteo Pacini | 2024-06-23 18:05:13 +0100 |
commit | dbc9dcd31183e3c42d21c024f437c41bce0d2c9a (patch) | |
tree | 8ee9ca1beb02f093cd519ac130eec2df6d6888c1 /pkgs/by-name/lo | |
parent | b5d723ae3aa5b41fd46043b4c5cf685019a8dac5 (diff) |
loopwm: init at 1.0.0
Diffstat (limited to 'pkgs/by-name/lo')
-rw-r--r-- | pkgs/by-name/lo/loopwm/package.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/by-name/lo/loopwm/package.nix b/pkgs/by-name/lo/loopwm/package.nix new file mode 100644 index 000000000000..5b1829a8ee04 --- /dev/null +++ b/pkgs/by-name/lo/loopwm/package.nix @@ -0,0 +1,40 @@ +{ + stdenvNoCC, + lib, + fetchurl, + unzip, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "loopwm"; + version = "1.0.0"; + + src = fetchurl { + url = "https://github.com/MrKai77/Loop/releases/download/${finalAttrs.version}/Loop.zip"; + hash = "sha256-1DQ6O6QkD04/meS0XaS0+vpr+vd5cfwGSehV8QVgYtI="; + }; + + sourceRoot = "."; + + nativeBuildInputs = [ unzip ]; + + dontPatch = true; + dontConfigure = true; + dontBuild = true; + + installPhase = '' + runHook preInstall + mkdir -p $out/Applications + cp -r Loop.app $out/Applications + runHook postInstall + ''; + + meta = { + description = "macOS Window management made elegant"; + homepage = "https://github.com/MrKai77/Loop"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ matteopacini ]; + platforms = lib.platforms.darwin; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + }; +}) |