From 86bf5eb0bbdb5dcbeeff9e372d5743c520c728bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 8 Nov 2021 09:47:20 +0100 Subject: [PATCH] ion-3: switch to pname+verison, format --- .../window-managers/ion-3/default.nix | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/window-managers/ion-3/default.nix b/pkgs/applications/window-managers/ion-3/default.nix index cdea6969dd9a..4794de1d5f84 100644 --- a/pkgs/applications/window-managers/ion-3/default.nix +++ b/pkgs/applications/window-managers/ion-3/default.nix @@ -1,19 +1,25 @@ { lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }: stdenv.mkDerivation rec { - name = "ion"; + pname = "ion"; version = "3-20090110"; - meta = { - description = "Tiling tabbed window manager designed with keyboard users in mind"; - homepage = "http://modeemi.fi/~tuomov/ion"; - platforms = with lib.platforms; linux; - license = lib.licenses.lgpl21; - }; + src = fetchurl { url = "http://tuomov.iki.fi/software/dl/ion-${version}.tar.gz"; sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns"; }; + buildInputs = [ xlibsWrapper lua gettext groff ]; + buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ]; + installFlags = [ "PREFIX=\${out}" ]; + + meta = with lib; { + description = "Tiling tabbed window manager designed with keyboard users in mind"; + homepage = "http://modeemi.fi/~tuomov/ion"; + platforms = with platforms; linux; + license = licenses.lgpl21; + maintainers = with maintainers; [ ]; + }; }