Merge pull request #145101 from SuperSandro2000/misc

authored by

Sandro and committed by
GitHub
43c3f17f 14907d5e

+120 -115
+6 -12
pkgs/applications/misc/adobe-reader/default.nix
··· 13 , gdk-pixbuf-xlib 14 }: 15 16 - assert stdenv.hostPlatform.system == "i686-linux"; 17 - 18 - let 19 - baseVersion = "9.5.5"; 20 - in 21 stdenv.mkDerivation rec { 22 pname = "adobe-reader"; 23 - version = "${baseVersion}-1"; 24 25 builder = ./builder.sh; 26 27 src = fetchurl { 28 - url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${baseVersion}/enu/AdbeRdr${version}_i486linux_enu.tar.bz2"; 29 sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf"; 30 }; 31 32 # !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu. 33 - # We should probably remove those and use the regular Nixpkgs 34 - # versions. 35 - 36 - libPath = lib.makeLibraryPath 37 - [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf gdk-pixbuf-xlib ]; 38 39 passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux"; 40 ··· 46 "Numerous unresolved vulnerabilities" 47 "See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53" 48 ]; 49 }; 50 }
··· 13 , gdk-pixbuf-xlib 14 }: 15 16 stdenv.mkDerivation rec { 17 pname = "adobe-reader"; 18 + version = "9.5.5"; 19 20 + # TODO: convert to phases 21 builder = ./builder.sh; 22 23 src = fetchurl { 24 + url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2"; 25 sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf"; 26 }; 27 28 # !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu. 29 + # We should probably remove those and use the regular Nixpkgs versions. 30 + libPath = lib.makeLibraryPath [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf gdk-pixbuf-xlib ]; 31 32 passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux"; 33 ··· 39 "Numerous unresolved vulnerabilities" 40 "See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53" 41 ]; 42 + platforms = [ "i686-linux" ]; 43 }; 44 }
+33 -35
pkgs/applications/misc/audio/sox/default.nix
··· 5 , pkg-config 6 , CoreAudio 7 , enableAlsa ? true 8 - , alsa-lib ? null 9 , enableLibao ? true 10 - , libao ? null 11 , enableLame ? config.sox.enableLame or false 12 - , lame ? null 13 , enableLibmad ? true 14 - , libmad ? null 15 , enableLibogg ? true 16 - , libogg ? null 17 - , libvorbis ? null 18 , enableOpusfile ? true 19 - , opusfile ? null 20 , enableFLAC ? true 21 - , flac ? null 22 , enablePNG ? true 23 - , libpng ? null 24 , enableLibsndfile ? true 25 - , libsndfile ? null 26 , enableWavpack ? true 27 - , wavpack ? null 28 # amrnb and amrwb are unfree, disabled by default 29 , enableAMR ? false 30 - , amrnb ? null 31 - , amrwb ? null 32 - , enableLibpulseaudio ? true 33 - , libpulseaudio ? null 34 }: 35 - 36 - with lib; 37 38 stdenv.mkDerivation rec { 39 pname = "sox"; ··· 45 }; 46 47 # configure.ac uses pkg-config only to locate libopusfile 48 - nativeBuildInputs = optional enableOpusfile pkg-config; 49 50 patches = [ ./0001-musl-rewind-pipe-workaround.patch ]; 51 52 buildInputs = 53 - optional (enableAlsa && stdenv.isLinux) alsa-lib ++ 54 - optional enableLibao libao ++ 55 - optional enableLame lame ++ 56 - optional enableLibmad libmad ++ 57 - optionals enableLibogg [ libogg libvorbis ] ++ 58 - optional enableOpusfile opusfile ++ 59 - optional enableFLAC flac ++ 60 - optional enablePNG libpng ++ 61 - optional enableLibsndfile libsndfile ++ 62 - optional enableWavpack wavpack ++ 63 - optionals enableAMR [ amrnb amrwb ] ++ 64 - optional enableLibpulseaudio libpulseaudio ++ 65 - optional (stdenv.isDarwin) CoreAudio; 66 67 - meta = { 68 description = "Sample Rate Converter for audio"; 69 homepage = "http://sox.sourceforge.net/"; 70 - maintainers = [ lib.maintainers.marcweber ]; 71 - license = if enableAMR then lib.licenses.unfree else lib.licenses.gpl2Plus; 72 - platforms = lib.platforms.linux ++ lib.platforms.darwin; 73 }; 74 }
··· 5 , pkg-config 6 , CoreAudio 7 , enableAlsa ? true 8 + , alsa-lib 9 , enableLibao ? true 10 + , libao 11 , enableLame ? config.sox.enableLame or false 12 + , lame 13 , enableLibmad ? true 14 + , libmad 15 , enableLibogg ? true 16 + , libogg 17 + , libvorbis 18 , enableOpusfile ? true 19 + , opusfile 20 , enableFLAC ? true 21 + , flac 22 , enablePNG ? true 23 + , libpng 24 , enableLibsndfile ? true 25 + , libsndfile 26 , enableWavpack ? true 27 + , wavpack 28 # amrnb and amrwb are unfree, disabled by default 29 , enableAMR ? false 30 + , amrnb 31 + , amrwb 32 + , enableLibpulseaudio ? stdenv.isLinux 33 + , libpulseaudio 34 }: 35 36 stdenv.mkDerivation rec { 37 pname = "sox"; ··· 43 }; 44 45 # configure.ac uses pkg-config only to locate libopusfile 46 + nativeBuildInputs = lib.optional enableOpusfile pkg-config; 47 48 patches = [ ./0001-musl-rewind-pipe-workaround.patch ]; 49 50 buildInputs = 51 + lib.optional (enableAlsa && stdenv.isLinux) alsa-lib 52 + ++ lib.optional enableLibao libao 53 + ++ lib.optional enableLame lame 54 + ++ lib.optional enableLibmad libmad 55 + ++ lib.optionals enableLibogg [ libogg libvorbis ] 56 + ++ lib.optional enableOpusfile opusfile 57 + ++ lib.optional enableFLAC flac 58 + ++ lib.optional enablePNG libpng 59 + ++ lib.optional enableLibsndfile libsndfile 60 + ++ lib.optional enableWavpack wavpack 61 + ++ lib.optionals enableAMR [ amrnb amrwb ] 62 + ++ lib.optional enableLibpulseaudio libpulseaudio 63 + ++ lib.optional stdenv.isDarwin CoreAudio; 64 65 + meta = with lib; { 66 description = "Sample Rate Converter for audio"; 67 homepage = "http://sox.sourceforge.net/"; 68 + maintainers = with maintainers; [ marcweber ]; 69 + license = if enableAMR then licenses.unfree else licenses.gpl2Plus; 70 + platforms = platforms.unix; 71 }; 72 }
+21 -10
pkgs/applications/misc/garmin-plugin/default.nix
··· 1 - { lib, stdenv, fetchurl, garmintools, libgcrypt, libusb-compat-0_1, pkg-config, tinyxml, zlib }: 2 stdenv.mkDerivation rec { 3 pname = "garmin-plugin"; 4 version = "0.3.26"; 5 6 - src = fetchurl { 7 - url = "https://github.com/adiesner/GarminPlugin/archive/V${version}.tar.gz"; 8 - sha256 = "15gads1fj4sj970m5960dgnhys41ksi4cm53ldkf67wn8dc9i4k0"; 9 }; 10 - sourceRoot = "GarminPlugin-${version}/src"; 11 nativeBuildInputs = [ pkg-config ]; 12 buildInputs = [ garmintools libusb-compat-0_1 libgcrypt tinyxml zlib ]; 13 configureFlags = [ 14 "--with-libgcrypt-prefix=${libgcrypt.dev}" 15 "--with-garmintools-incdir=${garmintools}/include" 16 "--with-garmintools-libdir=${garmintools}/lib" 17 ]; 18 installPhase = '' 19 mkdir -p $out/lib/mozilla/plugins 20 cp npGarminPlugin.so $out/lib/mozilla/plugins 21 ''; 22 - meta = { 23 - homepage = "http://www.andreas-diesner.de/garminplugin"; 24 - license = lib.licenses.gpl3; 25 - maintainers = [ ]; 26 - platforms = lib.platforms.linux; 27 }; 28 }
··· 1 + { lib, stdenv, fetchFromGitHub, garmintools, libgcrypt, libusb-compat-0_1, pkg-config, tinyxml, zlib }: 2 + 3 stdenv.mkDerivation rec { 4 pname = "garmin-plugin"; 5 version = "0.3.26"; 6 7 + src = fetchFromGitHub { 8 + owner = "adiesner"; 9 + repo = "GarminPlugin"; 10 + rev = "V${version}"; 11 + sha256 = "sha256-l0WAbEsQl1dCADf5gTepYjsA1rQCJMLcrTxRR4PfUus="; 12 }; 13 + 14 + preConfigure = '' 15 + cd src 16 + ''; 17 + 18 nativeBuildInputs = [ pkg-config ]; 19 + 20 buildInputs = [ garmintools libusb-compat-0_1 libgcrypt tinyxml zlib ]; 21 + 22 configureFlags = [ 23 "--with-libgcrypt-prefix=${libgcrypt.dev}" 24 "--with-garmintools-incdir=${garmintools}/include" 25 "--with-garmintools-libdir=${garmintools}/lib" 26 ]; 27 + 28 installPhase = '' 29 mkdir -p $out/lib/mozilla/plugins 30 cp npGarminPlugin.so $out/lib/mozilla/plugins 31 ''; 32 + 33 + meta = with lib; { 34 + homepage = "https://adiesner.github.io/GarminPlugin/"; 35 + license = licenses.gpl3Plus; 36 + maintainers = with maintainers; [ ]; 37 + platforms = platforms.linux; 38 }; 39 }
+2 -4
pkgs/applications/misc/gkrellm/default.nix
··· 15 , wrapGAppsHook 16 }: 17 18 - with lib; 19 - 20 stdenv.mkDerivation rec { 21 pname = "gkrellm"; 22 version = "2.3.11"; ··· 28 29 nativeBuildInputs = [ copyDesktopItems pkg-config which wrapGAppsHook ]; 30 buildInputs = [ gettext glib gtk2 libX11 libSM libICE ] 31 - ++ optionals stdenv.isDarwin [ IOKit ]; 32 33 hardeningDisable = [ "format" ]; 34 ··· 62 }) 63 ]; 64 65 - meta = { 66 description = "Themeable process stack of system monitors"; 67 longDescription = '' 68 GKrellM is a single process stack of system monitors which
··· 15 , wrapGAppsHook 16 }: 17 18 stdenv.mkDerivation rec { 19 pname = "gkrellm"; 20 version = "2.3.11"; ··· 26 27 nativeBuildInputs = [ copyDesktopItems pkg-config which wrapGAppsHook ]; 28 buildInputs = [ gettext glib gtk2 libX11 libSM libICE ] 29 + ++ lib.optionals stdenv.isDarwin [ IOKit ]; 30 31 hardeningDisable = [ "format" ]; 32 ··· 60 }) 61 ]; 62 63 + meta = with lib; { 64 description = "Themeable process stack of system monitors"; 65 longDescription = '' 66 GKrellM is a single process stack of system monitors which
+5 -5
pkgs/applications/misc/jigdo/default.nix
··· 4 pname = "jigdo"; 5 version = "0.7.3"; 6 7 - # Debian sources 8 src = fetchurl { 9 url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_${version}.orig.tar.gz"; 10 sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv"; ··· 22 23 configureFlags = [ "--without-libdb" ]; 24 25 - meta = { 26 description = "Download utility that can fetch files from several sources simultaneously"; 27 - homepage = "http://atterer.net/jigdo/"; 28 - license = lib.licenses.gpl2; 29 - platforms = lib.platforms.unix; 30 }; 31 }
··· 4 pname = "jigdo"; 5 version = "0.7.3"; 6 7 src = fetchurl { 8 url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_${version}.orig.tar.gz"; 9 sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv"; ··· 21 22 configureFlags = [ "--without-libdb" ]; 23 24 + meta = with lib; { 25 description = "Download utility that can fetch files from several sources simultaneously"; 26 + homepage = "http://atterer.org/jigdo/"; 27 + license = licenses.gpl2Only; 28 + platforms = platforms.unix; 29 + maintainers = with maintainers; [ ]; 30 }; 31 }
+10 -11
pkgs/applications/misc/loxodo/default.nix
··· 1 - { lib, python27Packages, fetchgit }: 2 - let 3 - py = python27Packages; 4 - python = py.python; 5 - in 6 - py.buildPythonApplication { 7 pname = "loxodo"; 8 - version = "0.20150124"; 9 10 - src = fetchgit { 11 - url = "https://github.com/sommer/loxodo.git"; 12 rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795"; 13 sha256 = "1cg0dfcv57ps54f1a0ksib7hgkrbdi9q699w302xyyfyvjcb5dd2"; 14 }; 15 16 - propagatedBuildInputs = with py; [ wxPython ]; 17 18 postInstall = '' 19 mv $out/bin/loxodo.py $out/bin/loxodo ··· 22 [Desktop Entry] 23 Type=Application 24 Exec=$out/bin/loxodo 25 - Icon=$out/lib/${python.libPrefix}/site-packages/resources/loxodo-icon.png 26 Name=Loxodo 27 GenericName=Password Vault 28 Categories=Application;Other; ··· 34 homepage = "https://www.christoph-sommer.de/loxodo/"; 35 license = licenses.gpl2Plus; 36 platforms = platforms.linux; 37 }; 38 }
··· 1 + { lib, python2, fetchFromGitHub }: 2 + 3 + python2.pkgs.buildPythonApplication { 4 pname = "loxodo"; 5 + version = "unstable-2015-01-24"; 6 7 + src = fetchFromGitHub { 8 + owner = "sommer"; 9 + repo = "loxodo"; 10 rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795"; 11 sha256 = "1cg0dfcv57ps54f1a0ksib7hgkrbdi9q699w302xyyfyvjcb5dd2"; 12 }; 13 14 + propagatedBuildInputs = with python2.pkgs; [ wxPython ]; 15 16 postInstall = '' 17 mv $out/bin/loxodo.py $out/bin/loxodo ··· 20 [Desktop Entry] 21 Type=Application 22 Exec=$out/bin/loxodo 23 + Icon=$out/lib/${python2.libPrefix}/site-packages/resources/loxodo-icon.png 24 Name=Loxodo 25 GenericName=Password Vault 26 Categories=Application;Other; ··· 32 homepage = "https://www.christoph-sommer.de/loxodo/"; 33 license = licenses.gpl2Plus; 34 platforms = platforms.linux; 35 + maintainers = with maintainers; [ ]; 36 }; 37 }
+7 -6
pkgs/applications/misc/metar/default.nix
··· 1 - { lib, stdenv, fetchgit, curl }: 2 3 stdenv.mkDerivation { 4 pname = "metar"; 5 - version = "20161013.1"; 6 7 - src = fetchgit { 8 - url = "https://github.com/keesL/metar.git"; 9 rev = "20e9ca69faea330f6c2493b6829131c24cb55147"; 10 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj"; 11 }; ··· 14 15 meta = with lib; { 16 homepage = "https://github.com/keesL/metar"; 17 - license = licenses.gpl2; 18 - maintainers = [ maintainers.zalakain ]; 19 description = "Downloads weather reports and optionally decodes them"; 20 longDescription = '' 21 METAR reports are meteorogical weather reports for aviation. Metar is a small ··· 27 more work in the area of clouds need to be done, as support for Cumulus or 28 Cumulunimbus is not yet decoded. 29 ''; 30 }; 31 }
··· 1 + { lib, stdenv, fetchFromGitHub, curl }: 2 3 stdenv.mkDerivation { 4 pname = "metar"; 5 + version = "unstable-2017-02-17"; 6 7 + src = fetchFromGitHub { 8 + owner = "keesL"; 9 + repo = "metar"; 10 rev = "20e9ca69faea330f6c2493b6829131c24cb55147"; 11 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj"; 12 }; ··· 15 16 meta = with lib; { 17 homepage = "https://github.com/keesL/metar"; 18 description = "Downloads weather reports and optionally decodes them"; 19 longDescription = '' 20 METAR reports are meteorogical weather reports for aviation. Metar is a small ··· 26 more work in the area of clouds need to be done, as support for Cumulus or 27 Cumulunimbus is not yet decoded. 28 ''; 29 + license = licenses.gpl2Plus; 30 + maintainers = with maintainers; [ zalakain ]; 31 }; 32 }
+11 -10
pkgs/applications/misc/procmail/default.nix
··· 4 pname = "procmail"; 5 version = "3.22"; 6 7 patches = [ 8 ./CVE-2014-3618.patch 9 (fetchurl { ··· 16 # getline is defined differently in glibc now. So rename it. 17 # Without the .PHONY target "make install" won't install anything on Darwin. 18 postPatch = '' 19 - sed -e "s%^RM.*$%#%" -i Makefile 20 - sed -e "s%^BASENAME.*%\BASENAME=$out%" -i Makefile 21 - sed -e "s%^LIBS=.*%LIBS=-lm%" -i Makefile 22 - sed -e "s%getline%thisgetline%g" -i src/*.c src/*.h 23 - sed -e "3i\ 24 .PHONY: install 25 " -i Makefile 26 ''; 27 - 28 - src = fetchurl { 29 - url = "ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-${version}.tar.gz"; 30 - sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08"; 31 - }; 32 33 meta = with lib; { 34 description = "Mail processing and filtering utility";
··· 4 pname = "procmail"; 5 version = "3.22"; 6 7 + src = fetchurl { 8 + url = "ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-${version}.tar.gz"; 9 + sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08"; 10 + }; 11 + 12 patches = [ 13 ./CVE-2014-3618.patch 14 (fetchurl { ··· 21 # getline is defined differently in glibc now. So rename it. 22 # Without the .PHONY target "make install" won't install anything on Darwin. 23 postPatch = '' 24 + sed -i Makefile \ 25 + -e "s%^RM.*$%#%" \ 26 + -e "s%^BASENAME.*%\BASENAME=$out%" \ 27 + -e "s%^LIBS=.*%LIBS=-lm%" 28 + sed -e "s%getline%thisgetline%g" -i src/*.c src/*.h 29 + sed -e "3i\ 30 .PHONY: install 31 " -i Makefile 32 ''; 33 34 meta = with lib; { 35 description = "Mail processing and filtering utility";
+6 -4
pkgs/applications/misc/rofi-menugen/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, rofi, gnused }: 2 3 stdenv.mkDerivation rec { 4 - rev = "168efd2608fdb88b1aff3e0244bda8402169f207"; 5 pname = "rofi-menugen"; 6 - version = "unstable-2015-12-28-${builtins.substring 0 7 rev}"; 7 8 src = fetchFromGitHub { 9 owner = "octotep"; 10 repo = "menugen"; 11 - inherit rev; 12 sha256 = "09fk9i6crw772qlc5zld35pcff1jq4jcag0syial2q000fbpjx5m"; 13 }; 14 - patchPhase = '' 15 sed -i -e "s|menugenbase|$out/bin/rofi-menugenbase|" menugen 16 sed -i -e "s|rofi |${rofi}/bin/rofi |" menugen 17 sed -i -e "s|sed |${gnused}/bin/sed |" menugenbase 18 ''; 19 installPhase = '' 20 mkdir -p $out/bin 21 cp menugen $out/bin/rofi-menugen 22 cp menugenbase $out/bin/rofi-menugenbase 23 ''; 24 meta = with lib; { 25 description = "Generates menu based applications using rofi"; 26 homepage = "https://github.com/octotep/menugen";
··· 1 { lib, stdenv, fetchFromGitHub, rofi, gnused }: 2 3 stdenv.mkDerivation rec { 4 pname = "rofi-menugen"; 5 + version = "unstable-2015-12-28"; 6 7 src = fetchFromGitHub { 8 owner = "octotep"; 9 repo = "menugen"; 10 + rev = "168efd2608fdb88b1aff3e0244bda8402169f207"; 11 sha256 = "09fk9i6crw772qlc5zld35pcff1jq4jcag0syial2q000fbpjx5m"; 12 }; 13 + 14 + postPatch = '' 15 sed -i -e "s|menugenbase|$out/bin/rofi-menugenbase|" menugen 16 sed -i -e "s|rofi |${rofi}/bin/rofi |" menugen 17 sed -i -e "s|sed |${gnused}/bin/sed |" menugenbase 18 ''; 19 + 20 installPhase = '' 21 mkdir -p $out/bin 22 cp menugen $out/bin/rofi-menugen 23 cp menugenbase $out/bin/rofi-menugenbase 24 ''; 25 + 26 meta = with lib; { 27 description = "Generates menu based applications using rofi"; 28 homepage = "https://github.com/octotep/menugen";
+8 -7
pkgs/applications/misc/stag/default.nix
··· 1 - { lib, stdenv, fetchgit, curses }: 2 3 stdenv.mkDerivation { 4 pname = "stag"; 5 version = "1.0"; 6 7 - src = fetchgit { 8 - url = "https://github.com/seenaburns/stag.git"; 9 rev = "90e2964959ea8242349250640d24cee3d1966ad6"; 10 sha256 = "1yrzjhcwrxrxq5jj695wvpgb0pz047m88yq5n5ymkcw5qr78fy1v"; 11 }; ··· 16 make install PREFIX=$out 17 ''; 18 19 - meta = { 20 homepage = "https://github.com/seenaburns/stag"; 21 description = "Terminal streaming bar graph passed through stdin"; 22 - license = lib.licenses.bsdOriginal; 23 - maintainers = [ lib.maintainers.matthiasbeyer ]; 24 - platforms = lib.platforms.unix; 25 }; 26 }
··· 1 + { lib, stdenv, fetchFromGitHub, curses }: 2 3 stdenv.mkDerivation { 4 pname = "stag"; 5 version = "1.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "seenaburns"; 9 + repo = "stag"; 10 rev = "90e2964959ea8242349250640d24cee3d1966ad6"; 11 sha256 = "1yrzjhcwrxrxq5jj695wvpgb0pz047m88yq5n5ymkcw5qr78fy1v"; 12 }; ··· 17 make install PREFIX=$out 18 ''; 19 20 + meta = with lib; { 21 homepage = "https://github.com/seenaburns/stag"; 22 description = "Terminal streaming bar graph passed through stdin"; 23 + license = licenses.bsdOriginal; 24 + maintainers = with maintainers; [ matthiasbeyer ]; 25 + platforms = platforms.unix; 26 }; 27 }
+6 -4
pkgs/applications/misc/xfontsel/default.nix
··· 3 # That is why this expression is not inside pkgs.xorg 4 5 { lib, stdenv, fetchurl, makeWrapper, libX11, pkg-config, libXaw }: 6 stdenv.mkDerivation rec { 7 pname = "xfontsel"; 8 version = "1.0.6"; ··· 13 }; 14 15 nativeBuildInputs = [ pkg-config makeWrapper ]; 16 buildInputs = [ libX11 libXaw ]; 17 18 # Without this, it gets Xmu as a dependency, but without rpath entry ··· 27 --set XAPPLRESDIR $out/share/X11/app-defaults 28 ''; 29 30 - meta = { 31 homepage = "https://www.x.org/"; 32 description = "Allows testing the fonts available in an X server"; 33 - license = lib.licenses.free; 34 - maintainers = with lib.maintainers; [ viric ]; 35 - platforms = with lib.platforms; linux ++ darwin; 36 }; 37 }
··· 3 # That is why this expression is not inside pkgs.xorg 4 5 { lib, stdenv, fetchurl, makeWrapper, libX11, pkg-config, libXaw }: 6 + 7 stdenv.mkDerivation rec { 8 pname = "xfontsel"; 9 version = "1.0.6"; ··· 14 }; 15 16 nativeBuildInputs = [ pkg-config makeWrapper ]; 17 + 18 buildInputs = [ libX11 libXaw ]; 19 20 # Without this, it gets Xmu as a dependency, but without rpath entry ··· 29 --set XAPPLRESDIR $out/share/X11/app-defaults 30 ''; 31 32 + meta = with lib; { 33 homepage = "https://www.x.org/"; 34 description = "Allows testing the fonts available in an X server"; 35 + license = licenses.free; 36 + maintainers = with maintainers; [ viric ]; 37 + platforms = platforms.unix; 38 }; 39 }
+5 -7
pkgs/applications/misc/xxkb/default.nix
··· 14 , pkg-config 15 }: 16 17 - assert svgSupport -> 18 - librsvg != null && glib != null && gdk-pixbuf != null && pkg-config != null; 19 - 20 stdenv.mkDerivation rec { 21 pname = "xxkb"; 22 version = "1.11.1"; ··· 27 }; 28 29 nativeBuildInputs = [ imake gccmakedep ]; 30 buildInputs = [ 31 libX11 32 libXt ··· 49 50 installTargets = [ "install" "install.man" ]; 51 52 - meta = { 53 description = "A keyboard layout indicator and switcher"; 54 homepage = "http://xxkb.sourceforge.net/"; 55 - license = lib.licenses.artistic2; 56 - maintainers = with lib.maintainers; [ rasendubi ]; 57 - platforms = lib.platforms.linux; 58 }; 59 }
··· 14 , pkg-config 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "xxkb"; 19 version = "1.11.1"; ··· 24 }; 25 26 nativeBuildInputs = [ imake gccmakedep ]; 27 + 28 buildInputs = [ 29 libX11 30 libXt ··· 47 48 installTargets = [ "install" "install.man" ]; 49 50 + meta = with lib; { 51 description = "A keyboard layout indicator and switcher"; 52 homepage = "http://xxkb.sourceforge.net/"; 53 + license = licenses.artistic2; 54 + maintainers = with maintainers; [ rasendubi ]; 55 + platforms = platforms.linux; 56 }; 57 }