git.iko.soy/typeable/nixpkgs
on master help sign in
velox: remove obsoleted package
commitbc849619be4408d6dd3d953d421c72abac432e8e authorgnidorah <gnidorah@users.noreply.github.com> dateSun 16 Jun 2019, 12:43 (7 years ago) parent7581301
6 files changed−209
pkgs/applications/window-managers/velox/default.nix−59 pkgs/applications/window-managers/velox/dmenu.nix−37 pkgs/applications/window-managers/velox/st.nix−40 pkgs/applications/window-managers/velox/swc.nix−36 pkgs/applications/window-managers/velox/wld.nix−32 pkgs/top-level/all-packages.nix−5
pkgs/applications/window-managers/velox/default.nixdeleted−59
@@ -1,59 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper, newScope
2−, libxkbcommon
3−, wayland, pixman, fontconfig
4−, stConf ? null, stPatches ? []
5−}:
6−
7−let
8− callPackage = newScope self;
9− self = {
10− swc = callPackage ./swc.nix {};
11− wld = callPackage ./wld.nix {};
12− dmenu-velox = callPackage ./dmenu.nix {};
13− st-velox = callPackage ./st.nix {
14− conf = stConf;
15− patches = stPatches;
16− };
17− };
18−in with self; stdenv.mkDerivation rec {
19− name = "velox-${version}";
20− version = "git-2017-07-04";
21−
22− src = fetchFromGitHub {
23− owner = "michaelforney";
24− repo = "velox";
25− rev = "0b1d3d62861653d92d0a1056855a84fcef661bc0";
26− sha256 = "0p5ra5p5w21wl696rmv0vdnl7jnri5iwnxfs6nl6miwydhq2dmci";
27− };
28−
29− nativeBuildInputs = [ pkgconfig makeWrapper ];
30−
31− buildInputs = [ swc libxkbcommon wld wayland pixman fontconfig ];
32−
33− propagatedUserEnvPkgs = [ swc ];
34−
35− makeFlags = "PREFIX=$(out)";
36− preBuild = ''
37− substituteInPlace config.c \
38− --replace /etc/velox.conf $out/etc/velox.conf
39− '';
40− installPhase = ''
41− PREFIX=$out make install
42− mkdir -p $out/etc
43− cp velox.conf.sample $out/etc/velox.conf
44− '';
45− postFixup = ''
46− wrapProgram $out/bin/velox \
47− --prefix PATH : "${stdenv.lib.makeBinPath [ dmenu-velox st-velox ]}"
48− '';
49−
50− enableParallelBuilding = false; # https://hydra.nixos.org/build/79799608
51−
52− meta = {
53− description = "velox window manager";
54− homepage = "https://github.com/michaelforney/velox";
55− license = lib.licenses.mit;
56− platforms = lib.platforms.linux;
57− maintainers = with lib.maintainers; [ ];
58− };
59−}
pkgs/applications/window-managers/velox/dmenu.nixdeleted−37
@@ -1,37 +0,0 @@
1−{stdenv, fetchFromGitHub #, libX11, libXinerama, enableXft, libXft, zlib
2−, swc, wld, wayland, libxkbcommon, pixman, fontconfig
3−}:
4−
5−with stdenv.lib;
6−
7−stdenv.mkDerivation rec {
8− name = "dmenu-velox-${version}";
9− version = "git-2017-04-07";
10−
11− src = fetchFromGitHub {
12− owner = "michaelforney";
13− repo = "dmenu";
14− rev = "f385d9d18813071b4b4257bf8d4d572daeda0e70";
15− sha256 = "14j8jv0nlybinhzkgd6dplvng9zy8p292prlx39w0k4fm6x5nv6y";
16− };
17−
18− buildInputs = [ swc wld wayland libxkbcommon pixman fontconfig ];
19−
20− postPatch = ''
21− sed -ri -e 's!\<(dmenu|dmenu_path)\>!'"$out/bin"'/&!g' dmenu_run
22− '';
23−
24− preConfigure = [
25− ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g; s@/usr/share/swc@${swc}/share/swc@g" config.mk''
26− ];
27−
28− enableParallelBuilding = true;
29−
30− meta = {
31− description = "A generic, highly customizable, and efficient menu for the X Window System";
32− homepage = https://tools.suckless.org/dmenu;
33− license = stdenv.lib.licenses.mit;
34− maintainers = with stdenv.lib.maintainers; [ ];
35− platforms = with stdenv.lib.platforms; all;
36− };
37−}
pkgs/applications/window-managers/velox/st.nixdeleted−40
@@ -1,40 +0,0 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, writeText
2−, ncurses, wayland, wayland-protocols, wld, libxkbcommon, fontconfig, pixman
3−, conf, patches }:
4−
5−with stdenv.lib;
6−
7−stdenv.mkDerivation rec {
8− name = "st-velox-${version}";
9− version = "git-2016-12-22";
10−
11− src = fetchFromGitHub {
12− owner = "michaelforney";
13− repo = "st";
14− rev = "b27f17da65f74b0a923952601873524e03b4d047";
15− sha256 = "17aa4bz5g14jvqghk2c8mw77hb8786s07pv814rmlk7nnsavmp3i";
16− };
17−
18− inherit patches;
19−
20− configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
21− preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
22−
23− nativeBuildInputs = [ pkgconfig ];
24− buildInputs = [ ncurses wayland wayland-protocols wld libxkbcommon fontconfig pixman ];
25−
26− NIX_LDFLAGS = "-lfontconfig";
27−
28− installPhase = ''
29− TERMINFO=$out/share/terminfo make install PREFIX=$out
30− '';
31−
32− enableParallelBuilding = true;
33−
34− meta = {
35− homepage = https://st.suckless.org/;
36− license = licenses.mit;
37− maintainers = with maintainers; [ ];
38− platforms = with platforms; linux;
39− };
40−}
pkgs/applications/window-managers/velox/swc.nixdeleted−36
@@ -1,36 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, pkgconfig
2−, wld, wayland, wayland-protocols, fontconfig, pixman, libdrm, libinput, libevdev, libxkbcommon, libxcb, xcbutilwm
3−}:
4−
5−stdenv.mkDerivation rec {
6− name = "swc-${version}";
7− version = "git-2017-06-28";
8−
9− src = fetchFromGitHub {
10− owner = "michaelforney";
11− repo = "swc";
12− rev = "5b20050872f8ad29cfc97729f8af47b6b3df5393";
13− sha256 = "1lxpm17v5d8png6ixc0zn0w00xgrhz2n5b8by9vx6800b18246z8";
14− };
15−
16− nativeBuildInputs = [ pkgconfig ];
17−
18− buildInputs = [ wld wayland wayland-protocols fontconfig pixman libdrm libinput libevdev libxkbcommon libxcb xcbutilwm ];
19−
20− prePatch = ''
21− substituteInPlace launch/local.mk --replace 4755 755
22− '';
23−
24− makeFlags = "PREFIX=$(out)";
25− installPhase = "PREFIX=$out make install";
26−
27− enableParallelBuilding = true;
28−
29− meta = {
30− description = "A library for making a simple Wayland compositor";
31− homepage = src.meta.homepage;
32− license = lib.licenses.mit;
33− platforms = lib.platforms.linux;
34− maintainers = with lib.maintainers; [ ];
35− };
36−}
pkgs/applications/window-managers/velox/wld.nixdeleted−32
@@ -1,32 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, pkgconfig
2−, wayland, fontconfig, pixman, freetype, libdrm
3−}:
4−
5−stdenv.mkDerivation rec {
6− name = "wld-${version}";
7− version = "git-2017-10-31";
8−
9− src = fetchFromGitHub {
10− owner = "michaelforney";
11− repo = "wld";
12− rev = "b4e902bbecb678c45485b52c3aa183cbc932c595";
13− sha256 = "0j2n776flnzyw3vhxl0r8h1c48wrihi4g6bs2z8j4hbw5pnwq1k6";
14− };
15−
16− nativeBuildInputs = [ pkgconfig ];
17−
18− buildInputs = [ wayland fontconfig pixman freetype libdrm ];
19−
20− makeFlags = "PREFIX=$(out)";
21− installPhase = "PREFIX=$out make install";
22−
23− enableParallelBuilding = true;
24−
25− meta = {
26− description = "A primitive drawing library targeted at Wayland";
27− homepage = src.meta.homepage;
28− license = lib.licenses.mit;
29− platforms = lib.platforms.linux;
30− maintainers = with lib.maintainers; [ ];
31− };
32−}
pkgs/top-level/all-packages.nix−5
@@ -18448,11 +18448,6 @@ in
1844818448 pulseSupport = config.pulseaudio or false;
1844918449 };
1845018450
18451− velox = callPackage ../applications/window-managers/velox {
18452− stConf = config.st.conf or null;
18453− stPatches = config.st.patches or null;
18454− };
18455−
1845618451 i3 = callPackage ../applications/window-managers/i3 {
1845718452 xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
1845818453 };