From 2c3fbe3a8e5c003410d32817b0465a854bb63321 Mon Sep 17 00:00:00 2001 From: Christopher Poole Date: Thu, 4 Sep 2014 17:21:42 +1000 Subject: Add the Geant4 Monte Carlo radiation transport toolkit and its Python bindings. --- .../libraries/physics/geant4/default.nix | 181 +++++++++++++++++++++ .../development/libraries/physics/geant4/fetch.nix | 78 +++++++++ .../libraries/physics/geant4/g4py/configure.patch | 12 ++ .../libraries/physics/geant4/g4py/default.nix | 105 ++++++++++++ .../libraries/physics/geant4/g4py/setup-hook.sh | 1 + .../libraries/physics/geant4/setup-hook.sh | 1 + pkgs/top-level/all-packages.nix | 34 ++++ 7 files changed, 412 insertions(+) create mode 100644 pkgs/development/libraries/physics/geant4/default.nix create mode 100644 pkgs/development/libraries/physics/geant4/fetch.nix create mode 100644 pkgs/development/libraries/physics/geant4/g4py/configure.patch create mode 100644 pkgs/development/libraries/physics/geant4/g4py/default.nix create mode 100644 pkgs/development/libraries/physics/geant4/g4py/setup-hook.sh create mode 100644 pkgs/development/libraries/physics/geant4/setup-hook.sh diff --git a/pkgs/development/libraries/physics/geant4/default.nix b/pkgs/development/libraries/physics/geant4/default.nix new file mode 100644 index 000000000000..54a9ad42d2d7 --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/default.nix @@ -0,0 +1,181 @@ +{ enableMultiThreading ? false +, enableG3toG4 ? false +, enableInventor ? false +, enableGDML ? false +, enableQT ? false +, enableXM ? false +, enableOpenGLX11 ? false +, enableRaytracerX11 ? false + +# Standard build environment with cmake. +, stdenv, fetchurl, cmake + +# Optional system packages, otherwise internal GEANT4 packages are used. +, clhep ? null +, expat ? null +, zlib ? null + +# For enableGDML. +, xercesc ? null + +# For enableQT. +, qt ? null # qt4SDK or qt5SDK + +# For enableXM. +, motif ? null # motif or lesstif + +# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11. +, mesa ? null +, x11 ? null +, libXmu ? null +}: + +# G4persistency library with support for GDML +assert enableGDML -> xercesc != null; + +# If enableQT, Qt4/5 User Interface and Visualization drivers. +assert enableQT -> qt != null; + +# Motif User Interface and Visualisation drivers. +assert enableXM -> motif != null; + +# OpenGL/X11 User Interface and Visualisation drivers. +assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> mesa != null; +assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> x11 != null; +assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libXmu != null; + +let + buildGeant4 = + { version, src, multiThreadingCapable ? false }: + + stdenv.mkDerivation rec { + inherit version src; + name = "geant4-${version}"; + + # The data directory holds not just interaction cross section data, but other + # files which the installer needs to write, so we link to the previously installed + # data instead. This assumes the default data installation location of $out/share. + preConfigure = '' + mkdir -p $out/share/Geant4-${version} + ln -s ${g4data}/Geant4-${version}/data $out/share/Geant4-${version}/data + ''; + + multiThreadingFlag = if multiThreadingCapable then "-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}" else ""; + + cmakeFlags = '' + ${multiThreadingFlag} + -DGEANT4_USE_GDML=${if enableGDML then "ON" else "OFF"} + -DGEANT4_USE_G3TOG4=${if enableG3toG4 then "ON" else "OFF"} + -DGEANT4_USE_QT=${if enableQT then "ON" else "OFF"} + -DGEANT4_USE_XM=${if enableXM then "ON" else "OFF"} + -DGEANT4_USE_OPENGL_X11=${if enableOpenGLX11 then "ON" else "OFF"} + -DGEANT4_USE_INVENTOR=${if enableInventor then "ON" else "OFF"} + -DGEANT4_USE_RAYTRACER_X11=${if enableRaytracerX11 then "ON" else "OFF"} + -DGEANT4_USE_SYSTEM_CLHEP=${if clhep != null then "ON" else "OFF"} + -DGEANT4_USE_SYSTEM_EXPAT=${if expat != null then "ON" else "OFF"} + -DGEANT4_USE_SYSTEM_ZLIB=${if zlib != null then "ON" else "OFF"} + ''; + + g4data = installData { + inherit version src; + }; + + enableParallelBuilding = true; + buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa x11 libXmu ]; + propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa x11 libXmu ]; + + setupHook = ./setup-hook.sh; + + # Set the myriad of envars required by Geant4 if we use a nix-shell. + shellHook = '' + source $out/nix-support/setup-hook + ''; + + meta = { + description = "A toolkit for the simulation of the passage of particles through matter."; + longDescription = '' + Geant4 is a toolkit for the simulation of the passage of particles through matter. + Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. + The two main reference papers for Geant4 are published in Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278. + ''; + homepage = http://www.geant4.org; + license = stdenv.lib.licenses.g4sl; + maintainers = [ ]; + platforms = stdenv.lib.platforms.all; + }; + }; + + installData = + { version, src }: + + stdenv.mkDerivation rec { + inherit version src; + name = "g4data-${version}"; + + cmakeFlags = '' + -DGEANT4_INSTALL_DATA="ON" + ''; + + buildInputs = [ cmake expat ]; + + enableParallelBuilding = true; + buildPhase = '' + make G4EMLOW G4NDL G4NEUTRONXS G4PII G4SAIDDATA PhotonEvaporation RadioactiveDecay RealSurface + ''; + + installPhase = '' + mkdir -p $out/Geant4-${version} + cp -R data/ $out/Geant4-${version} + ''; + + meta = { + description = "Data files for the Geant4 toolkit."; + homepage = http://www.geant4.org; + license = stdenv.lib.licenses.g4sl; + maintainers = [ ]; + platforms = stdenv.lib.platforms.all; + }; + }; + + fetchGeant4 = import ./fetch.nix { + inherit stdenv fetchurl; + }; + +in { + + ### VERSION 9.6 + + v9_6 = buildGeant4 { + inherit (fetchGeant4.v9_6) version src; + }; + + v9_6_1 = buildGeant4 { + inherit (fetchGeant4.v9_6_1) version src; + }; + + v9_6_2 = buildGeant4 { + inherit (fetchGeant4.v9_6_2) version src; + }; + + v9_6_3 = buildGeant4 { + inherit (fetchGeant4.v9_6_3) version src; + }; + + ## VERSION 10.0 + + v10_0 = buildGeant4 { + inherit (fetchGeant4.v10_0) version src; + multiThreadingCapable = true; + }; + + v10_0_1 = buildGeant4 { + inherit (fetchGeant4.v10_0_1) version src; + multiThreadingCapable = true; + }; + + v10_0_2 = buildGeant4 { + inherit (fetchGeant4.v10_0_2) version src; + multiThreadingCapable = true; + }; +} + diff --git a/pkgs/development/libraries/physics/geant4/fetch.nix b/pkgs/development/libraries/physics/geant4/fetch.nix new file mode 100644 index 000000000000..0c2f4b5dc544 --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/fetch.nix @@ -0,0 +1,78 @@ +{ stdenv, fetchurl }: + +let + fetch = { version, src ? builtins.getAttr stdenv.system sources, sources ? null }: + { + inherit version src; + }; + +in { + + ### VERSION 9.6 + + v9_6 = fetch { + version = "9.6"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.9.6.tar.gz"; + sha256 = "3b1caf87664ef35cab25563b2911653701e98c75a9bd6c64f364d1a1213247e5"; + }; + }; + + v9_6_1 = fetch { + version = "9.6.1"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.9.6.p01.tar.gz"; + sha256 = "575c45029afc2405d70c38e6dcfd1a752564b2540f33a922230039be81c8e4b6"; + }; + }; + + v9_6_2 = fetch { + version = "9.6.2"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.9.6.p02.tar.gz"; + sha256 = "cf5df83b7e2c99e6729449b32d3ecb0727b4692317426b66fc7fd41951c7351f"; + }; + }; + + v9_6_3 = fetch { + version = "9.6.3"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.9.6.p03.tar.gz"; + sha256 = "3a7e969039e8992716b3bc33b44cbdbff9c8d5850385f1a02fdd756a4fa6305c"; + }; + }; + + ### Version 10.0 + + v10_0 = fetch { + version = "10.0"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.10.00.tar.gz"; + sha256 = "ffec1714b03748b6d691eb0b91906f4c74422c1ad1f8afa918e03be421af8a17"; + }; + }; + + v10_0_1 = fetch { + version = "10.0.1"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.10.00.p01.tar.gz"; + sha256 = "09c431ff3ef81034282c46501cea01046d4a20438c2ea2a7339576e1ecf26ba0"; + }; + }; + + v10_0_2 = fetch { + version = "10.0.2"; + + src = fetchurl{ + url = "http://geant4.cern.ch/support/source/geant4.10.00.p02.tar.gz"; + sha256 = "9d615200901f1a5760970e8f5970625ea146253e4f7c5ad9df2a9cf84549e848"; + }; + }; +} + diff --git a/pkgs/development/libraries/physics/geant4/g4py/configure.patch b/pkgs/development/libraries/physics/geant4/g4py/configure.patch new file mode 100644 index 000000000000..886618abd34a --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/g4py/configure.patch @@ -0,0 +1,12 @@ +--- environments/g4py/configure 2014-03-17 22:47:05.000000000 +1100 ++++ environments/g4py/configure 2014-09-01 15:33:46.523637686 +1000 +@@ -4,9 +4,6 @@ + # ====================================================================== + export LANG=C + +-PATH=/bin:/usr/bin +-export PATH +- + # ====================================================================== + # testing the echo features + # ====================================================================== diff --git a/pkgs/development/libraries/physics/geant4/g4py/default.nix b/pkgs/development/libraries/physics/geant4/g4py/default.nix new file mode 100644 index 000000000000..f6ca6562b6fe --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/g4py/default.nix @@ -0,0 +1,105 @@ +{ stdenv, fetchurl + +# The target version of Geant4 +, geant4 + +# Python (obviously) and boost::python for wrapping. +, python +, boost +}: + +let + buildG4py = + { version, src, geant4}: + + stdenv.mkDerivation rec { + inherit version src geant4; + name = "g4py-${version}"; + + # ./configure overwrites $PATH, which clobbers everything. + patches = [ ./configure.patch ]; + patchFlags = "-p0"; + + configurePhase = '' + export PYTHONPATH=$PYTHONPATH:${geant4}/lib64:$prefix + + source ${geant4}/share/Geant4-*/geant4make/geant4make.sh + cd environments/g4py + + ./configure linux64 --prefix=$prefix \ + --with-g4install-dir=${geant4} \ + --with-python-incdir=${python}/include/python${python.majorVersion} \ + --with-python-libdir=${python}/lib \ + --with-boost-incdir=${boost}/include \ + --with-boost-libdir=${boost}/lib + ''; + + enableParallelBuilding = true; + buildInputs = [ geant4 boost python ]; + + setupHook = ./setup-hook.sh; + + # Make sure we set PYTHONPATH + shellHook = '' + source $out/nix-support/setup-hook + ''; + + meta = { + description = "Python bindings and utilities for Geant4."; + longDescription = '' + Geant4 is a toolkit for the simulation of the passage of particles through matter. + Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. + The two main reference papers for Geant4 are published in Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278. + ''; + homepage = http://www.geant4.org; + license = stdenv.lib.licenses.g4sl; + maintainers = [ ]; + platforms = stdenv.lib.platforms.all; + }; + }; + + fetchGeant4 = import ../fetch.nix { + inherit stdenv fetchurl; + }; + +in { + + ### VERSION 9.6 + + v9_6 = buildG4py { + inherit (fetchGeant4.v9_6) version src; + geant4 = geant4.v9_6; + }; + + v9_6_1 = buildG4py { + inherit (fetchGeant4.v9_6_1) version src; + geant4 = geant4.v9_6_1; + }; + + v9_6_2 = buildG4py { + inherit (fetchGeant4.v9_6_2) version src; + geant4 = geant4.v9_6_2; + }; + + v9_6_3 = buildG4py { + inherit (fetchGeant4.v9_6_3) version src; + geant4 = geant4.v9_6_3; + }; + + ## VERSION 10.0 + + v10_0 = buildG4py { + inherit (fetchGeant4.v10_0) version src; + geant4 = geant4.v10_0; + }; + + v10_0_1 = buildG4py { + inherit (fetchGeant4.v10_0_1) version src; + geant4 = geant4.v10_0_1; + }; + + v10_0_2 = buildG4py { + inherit (fetchGeant4.v10_0_2) version src; + geant4 = geant4.v10_0_2; + }; +} diff --git a/pkgs/development/libraries/physics/geant4/g4py/setup-hook.sh b/pkgs/development/libraries/physics/geant4/g4py/setup-hook.sh new file mode 100644 index 000000000000..8abfb461fc0f --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/g4py/setup-hook.sh @@ -0,0 +1 @@ +export PYTHONPATH=$PYTHONPATH:@out@/lib diff --git a/pkgs/development/libraries/physics/geant4/setup-hook.sh b/pkgs/development/libraries/physics/geant4/setup-hook.sh new file mode 100644 index 000000000000..0b775d432831 --- /dev/null +++ b/pkgs/development/libraries/physics/geant4/setup-hook.sh @@ -0,0 +1 @@ +source @out@/bin/geant4.sh diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e30d149c95e4..7544564cea1c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11273,6 +11273,40 @@ let xplanet = callPackage ../applications/science/astronomy/xplanet { }; + ### SCIENCE / PHYSICS + + geant4 = callPackage ../development/libraries/physics/geant4 { + enableMultiThreading = true; + enableG3toG4 = false; + enableInventor = false; + enableGDML = false; + enableQT = false; + enableXM = false; + enableOpenGLX11 = true; + enableRaytracerX11 = false; + + # Optional system packages, otherwise internal GEANT4 packages are used. + clhep = null; + expat = expat; + zlib = null; + + # For enableGDML. + xercesc = null; + + # For enableQT. + qt = null; # qt4SDK or qt5SDK + + # For enableXM. + motif = null; # motif or lesstif + + # For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11. + mesa = mesa; + x11 = x11; + inherit (xlibs) libXmu; + }; + + g4py = callPackage ../development/libraries/physics/geant4/g4py { }; + ### MISC atari800 = callPackage ../misc/emulators/atari800 { }; -- cgit v1.2.3 From 9a48f9d1b6656683c7450eecd839012ca424f556 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Thu, 4 Sep 2014 13:11:30 +1000 Subject: ati-drivers: bump version to 14.4 --- pkgs/os-specific/linux/ati-drivers/builder.sh | 4 ++-- pkgs/os-specific/linux/ati-drivers/default.nix | 6 +++--- .../os-specific/linux/ati-drivers/gentoo-patches.patch | 18 ------------------ 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/pkgs/os-specific/linux/ati-drivers/builder.sh b/pkgs/os-specific/linux/ati-drivers/builder.sh index d1ca1b354522..ab347d976a5f 100644 --- a/pkgs/os-specific/linux/ati-drivers/builder.sh +++ b/pkgs/os-specific/linux/ati-drivers/builder.sh @@ -8,7 +8,7 @@ die(){ echo $@; exit 1; } # custom unpack: unzip $src -run_file=$(echo amd-catalyst-*) +run_file=$(echo fglrx-*/amd-driver-installer-*) sh $run_file --extract . eval "$patchPhase" @@ -60,7 +60,7 @@ setSMP(){ } setModVersions(){ - ! grep CONFIG_MODVERSIONS=y $kernel/config || + ! grep CONFIG_MODVERSIONS=y $kernelBuild/.config || def_modversions="-DMODVERSIONS" # make.sh contains much more code to determine this whether its enabled } diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix index 0aa67dba2378..0da2d26c3569 100644 --- a/pkgs/os-specific/linux/ati-drivers/default.nix +++ b/pkgs/os-specific/linux/ati-drivers/default.nix @@ -26,7 +26,7 @@ assert stdenv.system == "x86_64-linux"; stdenv.mkDerivation { - name = "ati-drivers-13.12-${kernel.version}"; + name = "ati-drivers-14.4-${kernel.version}"; builder = ./builder.sh; @@ -34,8 +34,8 @@ stdenv.mkDerivation { gcc = stdenv.gcc.gcc; src = fetchurl { - url = http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip; - sha256 = "1c3fn328340by4qn99dgfj8c2q34fxdb2alcak0vnyc6bw7l5sms"; + url = http://www2.ati.com/drivers/linux/amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip; + sha256 = "1xbhn55yifis9b0lzb3s03hc1bcq8jmy7l96m4x8d842n7ji7qlk"; curlOpts = "--referer http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64"; }; diff --git a/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch b/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch index 392c2a8c29e3..fd1d12cccb62 100644 --- a/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch +++ b/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch @@ -31,21 +31,3 @@ index d3ad3ce..9362b58 100755 +# endif #endif } - - -diff -urN a/common/lib/modules/fglrx/build_mod/kcl_acpi.c common/lib/modules/fglrx/build_mod/kcl_acpi.c ---- a/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-27 13:32:34.734832283 +0100 -+++ b/common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-27 13:33:31.849831765 +0100 -@@ -1002,7 +1002,11 @@ - #endif - { - return KCL_ACPI_ERROR; -- } -+ } -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1) -+ ((acpi_tbl_table_handler)handler)(hdr); -+#else - ((acpi_table_handler)handler)(hdr); -+#endif - return KCL_ACPI_OK; - } -- cgit v1.2.3 From c16874c4c0e8f0980d1000b4024239146c02028d Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Fri, 5 Sep 2014 19:53:36 +1000 Subject: ati_unfree: Create a nixos module for the ati_unfree x11 driver and blacklist the radeon driver when ati_unfree is installed. --- nixos/modules/hardware/opengl.nix | 17 ++---------- nixos/modules/hardware/video/ati.nix | 37 ++++++++++++++++++++++++++ nixos/modules/module-list.nix | 1 + nixos/modules/services/x11/xserver.nix | 6 +---- pkgs/os-specific/linux/ati-drivers/default.nix | 2 -- 5 files changed, 41 insertions(+), 22 deletions(-) create mode 100644 nixos/modules/hardware/video/ati.nix diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index f894c830eb6c..f974ec01c669 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -104,22 +104,9 @@ in environment.sessionVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]; - # FIXME: move this into card-specific modules. - hardware.opengl.package = mkDefault - (if elem "ati_unfree" videoDrivers then - kernelPackages.ati_drivers_x11 - else - makePackage pkgs); - + hardware.opengl.package = mkDefault (makePackage pkgs); hardware.opengl.package32 = mkDefault (makePackage pkgs_i686); - boot.extraModulePackages = - optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions ++ - optional (elem "ati_unfree" videoDrivers) kernelPackages.ati_drivers_x11; - - environment.etc = - optionalAttrs (elem "ati_unfree" videoDrivers) { - "ati".source = "${kernelPackages.ati_drivers_x11}/etc/ati"; - }; + boot.extraModulePackages = optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions; }; } diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix new file mode 100644 index 000000000000..4ae1711318fa --- /dev/null +++ b/nixos/modules/hardware/video/ati.nix @@ -0,0 +1,37 @@ +# This module provides the proprietary ATI X11 / OpenGL drivers. + +{ config, lib, pkgs, pkgs_i686, ... }: + +with lib; + +let + + drivers = config.services.xserver.videoDrivers; + + enabled = elem "ati_unfree" drivers; + + ati_x11 = config.boot.kernelPackages.ati_drivers_x11; + +in + +{ + + config = mkIf enabled { + + services.xserver.drivers = singleton + { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; }; + + hardware.opengl.package = ati_x11; + #hardware.opengl.package32 = pkgs_i686.linuxPackages.ati_x11.override { libsOnly = true; kernel = null; }; + + environment.systemPackages = [ ati_x11 ]; + + boot.extraModulePackages = [ ati_x11 ]; + + boot.blacklistedKernelModules = [ "radeon" ]; + + environment.etc."ati".source = "${ati_x11}/etc/ati"; + + }; + +} diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 61a98ca12ffb..a6da9b32d813 100755 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -38,6 +38,7 @@ ./hardware/pcmcia.nix ./hardware/video/bumblebee.nix ./hardware/video/nvidia.nix + ./hardware/video/ati.nix ./installer/tools/nixos-checkout.nix ./installer/tools/tools.nix ./misc/assertions.nix diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 21eaf6bb6b76..c08afe2041f4 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -13,7 +13,6 @@ let # Map video driver names to driver packages. FIXME: move into card-specific modules. knownVideoDrivers = { - ati_unfree = { modules = [ kernelPackages.ati_drivers_x11 ]; driverName = "fglrx"; }; nouveau = { modules = [ pkgs.xf86_video_nouveau ]; }; unichrome = { modules = [ pkgs.xorgVideoUnichrome ]; }; virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; driverName = "vboxvideo"; }; @@ -444,8 +443,7 @@ in pkgs.xterm pkgs.xdg_utils ] - ++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh - ++ optional (elem "ati_unfree" cfg.videoDrivers) kernelPackages.ati_drivers_x11; + ++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh; environment.pathsToLink = [ "/etc/xdg" "/share/xdg" "/share/applications" "/share/icons" "/share/pixmaps" ]; @@ -465,8 +463,6 @@ in XORG_DRI_DRIVER_PATH = "/run/opengl-driver/lib/dri"; # !!! Depends on the driver selected at runtime. LD_LIBRARY_PATH = concatStringsSep ":" ( [ "${xorg.libX11}/lib" "${xorg.libXext}/lib" ] - ++ optionals (elem "ati_unfree" cfg.videoDrivers) - [ "${kernelPackages.ati_drivers_x11}/lib" "${kernelPackages.ati_drivers_x11}/X11R6/lib64/modules/linux" ] ++ concatLists (catAttrs "libPath" cfg.drivers)); } // cfg.displayManager.job.environment; diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix index 0da2d26c3569..10aeea18ceb4 100644 --- a/pkgs/os-specific/linux/ati-drivers/default.nix +++ b/pkgs/os-specific/linux/ati-drivers/default.nix @@ -21,8 +21,6 @@ # There is one issue left: # /usr/lib/dri/fglrx_dri.so must point to /run/opengl-driver/lib/fglrx_dri.so -# You eventually have to blacklist radeon module (?) - assert stdenv.system == "x86_64-linux"; stdenv.mkDerivation { -- cgit v1.2.3 From 45f4b8b3adabfe8f19ef358e0d7d84df2c3c4723 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Sat, 6 Sep 2014 14:17:00 +1000 Subject: ati_unfree: Towards using ati unfree 32bit binary libs --- nixos/modules/hardware/video/ati.nix | 2 +- pkgs/os-specific/linux/ati-drivers/builder.sh | 36 +++++++++++++++++--------- pkgs/os-specific/linux/ati-drivers/default.nix | 26 +++++++++---------- 3 files changed, 38 insertions(+), 26 deletions(-) diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix index 4ae1711318fa..033e49d2233e 100644 --- a/nixos/modules/hardware/video/ati.nix +++ b/nixos/modules/hardware/video/ati.nix @@ -22,7 +22,7 @@ in { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; }; hardware.opengl.package = ati_x11; - #hardware.opengl.package32 = pkgs_i686.linuxPackages.ati_x11.override { libsOnly = true; kernel = null; }; + hardware.opengl.package32 = pkgs_i686.linuxPackages.ati_drivers_x11.override { libsOnly = true; kernel = null; }; environment.systemPackages = [ ati_x11 ]; diff --git a/pkgs/os-specific/linux/ati-drivers/builder.sh b/pkgs/os-specific/linux/ati-drivers/builder.sh index ab347d976a5f..90d186ea1130 100644 --- a/pkgs/os-specific/linux/ati-drivers/builder.sh +++ b/pkgs/os-specific/linux/ati-drivers/builder.sh @@ -13,6 +13,21 @@ sh $run_file --extract . eval "$patchPhase" +case "$system" in + x86_64-linux) + arch=x86_64 + lib_arch=lib64 + DIR_DEPENDING_ON_XORG_VERSION=xpic_64a + ;; + i686-linux) + arch=x86 + lib_arch=lib + DIR_DEPENDING_ON_XORG_VERSION=xpic + ;; + *) exit 1;; +esac + +if test -z "$libsOnly"; then kernelVersion=$(cd ${kernel}/lib/modules && ls) kernelBuild=$(echo ${kernel}/lib/modules/$kernelVersion/build) linuxsources=$(echo ${kernel}/lib/modules/$kernelVersion/source) @@ -105,17 +120,6 @@ setSMP setModVersions CC=gcc MODULE=fglrx -case "$system" in - x86_64-linux) - arch=x86_64 - lib_arch=lib64 - ;; - i686-linux) - arch=x86 - lib_arch=lib - ;; - *) exit 1;; -esac LIBIP_PREFIX=$TMP/arch/$arch/lib/modules/fglrx/build_mod [ -d $LIBIP_PREFIX ] GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" @@ -138,6 +142,8 @@ GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" cd $TMP } +fi + { # install mkdir -p $out/lib/xorg @@ -152,13 +158,15 @@ GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" # what are those files used for? cp -r common/etc $out - DIR_DEPENDING_ON_XORG_VERSION=xpic_64a cp -r $DIR_DEPENDING_ON_XORG_VERSION/usr/X11R6/$lib_arch/* $out/lib/xorg + # install kernel module + if test -z "$libsOnly"; then t=$out/lib/modules/${kernelVersion}/kernel/drivers/misc mkdir -p $t cp ./common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko $t + fi # should this be installed at all? # its used by the example fglrx_gamma only @@ -185,6 +193,8 @@ GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" patchelf --set-rpath $gcc/$lib_arch $out/lib/libatiadlxx.so } +if test -z "$libsOnly"; then + { # build samples mkdir -p $out/bin @@ -229,6 +239,8 @@ GCC_MAJOR="`gcc --version | grep -o -e ") ." | head -1 | cut -d " " -f 2`" } +fi + for p in $extraDRIlibs; do for lib in $p/lib/*.so*; do ln -s $lib $out/lib/ diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix index 10aeea18ceb4..45452c1ea6d2 100644 --- a/pkgs/os-specific/linux/ati-drivers/default.nix +++ b/pkgs/os-specific/linux/ati-drivers/default.nix @@ -1,10 +1,16 @@ -{ stdenv, fetchurl, kernel, xlibs, which, imake +{ stdenv, fetchurl, kernel ? null, xlibs, which, imake , mesa # for fgl_glxgears , libXxf86vm, xf86vidmodeproto # for fglrx_gamma , xorg, makeWrapper, glibc, patchelf , unzip +, # Whether to build the libraries only (i.e. not the kernel module or + # driver utils). Used to support 32-bit binaries on 64-bit + # Linux. + libsOnly ? false }: +assert (!libsOnly) -> kernel != null; + # If you want to use a different Xorg version probably # DIR_DEPENDING_ON_XORG_VERSION in builder.sh has to be adopted (?) # make sure libglx.so of ati is used. xorg.xorgserver does provide it as well @@ -21,10 +27,10 @@ # There is one issue left: # /usr/lib/dri/fglrx_dri.so must point to /run/opengl-driver/lib/fglrx_dri.so -assert stdenv.system == "x86_64-linux"; +with stdenv.lib; stdenv.mkDerivation { - name = "ati-drivers-14.4-${kernel.version}"; + name = "ati-drivers-14.4" + (optionalString (!libsOnly) "-${kernel.version}"); builder = ./builder.sh; @@ -49,7 +55,9 @@ stdenv.mkDerivation { mesa ]; - kernel = kernel.dev; + inherit libsOnly; + + kernel = if libsOnly then null else kernel.dev; inherit glibc /* glibc only used for setting interpreter */; @@ -73,15 +81,7 @@ stdenv.mkDerivation { homepage = http://support.amd.com/us/gpudownload/Pages/index.aspx; license = licenses.unfree; maintainers = with maintainers; [marcweber offline]; - platforms = [ "x86_64-linux" ]; + platforms = platforms.linux; hydraPlatforms = []; }; - - # moved assertions here because the name is evaluated when the NixOS manual is generated - # Don't make that fail - fail lazily when a users tries to build this derivation only - dummy = - # assert xorg.xorgserver.name == "xorg-server-1.7.5"; - assert stdenv.system == "x86_64-linux"; # i686-linux should work as well - however I didn't test it. - null; - } -- cgit v1.2.3 From fb9a6221b63ee92c27c917368e980649c5167203 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Sun, 7 Sep 2014 12:42:32 +1000 Subject: ati_unfree: Update nixos-manual for AMD driver support --- nixos/doc/manual/configuration/x-windows.xml | 19 +++++++++++++++++++ nixos/modules/hardware/opengl.nix | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index bc58bb1f0669..cfcc8baa898a 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -73,6 +73,25 @@ services.xserver.driSupport32Bit = true; +AMD Graphics Cards + +AMD provides a proprietary driver for its graphics cards that +has better 3D performance than the X.org drivers. It is not enabled +by default because it’s not free software. You can enable it as follows: + +services.xserver.videoDrivers = [ "ati_unfree" ]; + +You will need to reboot after enabling this driver to prevent a clash +with other kernel modules. + +On 64-bit systems, if you want full acceleration for 32-bit +programs such as Wine, you should also set the following: + +hardware.opengl.driSupport32Bit = true; + + + + Touchpads diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index f974ec01c669..1777c200dd11 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -46,7 +46,8 @@ in description = '' On 64-bit systems, whether to support Direct Rendering for 32-bit applications (such as Wine). This is currently only - supported for the nvidia driver and for + supported for the nvidia and + ati_unfree drivers, as well as Mesa. ''; }; -- cgit v1.2.3 From 2f0994010ab75d209240b882cec80a7376d686e3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 12 Sep 2014 09:40:09 +0200 Subject: Adds ocaml-fix Fix is a simple OCaml module for computing the least solution of a system of monotone equations. Homepage: http://gallium.inria.fr/~fpottier/fix/ --- pkgs/development/ocaml-modules/fix/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/ocaml-modules/fix/default.nix diff --git a/pkgs/development/ocaml-modules/fix/default.nix b/pkgs/development/ocaml-modules/fix/default.nix new file mode 100644 index 000000000000..5ead575d0886 --- /dev/null +++ b/pkgs/development/ocaml-modules/fix/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, ocaml, findlib}: + +stdenv.mkDerivation { + + name = "ocaml-fix-20130611"; + + src = fetchurl { + url = http://gallium.inria.fr/~fpottier/fix/fix-20130611.tar.gz; + sha256 = "1phlqcs1nb93x9cf0w0hnq2ck4dmn71zm4mxf60w96vb9yb9qzp0"; + }; + + buildInputs = [ ocaml findlib ]; + + createFindlibDestdir = true; + + meta = with stdenv.lib; { + homepage = http://gallium.inria.fr/~fpottier/fix/; + description = "A simple OCaml module for computing the least solution of a system of monotone equations"; + license = licenses.cecill-c; + platforms = ocaml.meta.platforms; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 415f7263e3e3..867dddfa48e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3340,6 +3340,8 @@ let findlib = callPackage ../development/tools/ocaml/findlib { }; + fix = callPackage ../development/ocaml-modules/fix { }; + javalib = callPackage ../development/ocaml-modules/javalib { extlib = ocaml_extlib_maximal; }; -- cgit v1.2.3 From ed7259000440c4a809349a69e34b600cce0abbbf Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 12 Sep 2014 09:45:38 +0200 Subject: Adds ocaml-pprint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pprint is an OCaml adaptation of Wadler’s and Leijen’s prettier printer. Homepage: http://gallium.inria.fr/~fpottier/pprint/ --- pkgs/development/ocaml-modules/pprint/default.nix | 27 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/ocaml-modules/pprint/default.nix diff --git a/pkgs/development/ocaml-modules/pprint/default.nix b/pkgs/development/ocaml-modules/pprint/default.nix new file mode 100644 index 000000000000..e025801bb21c --- /dev/null +++ b/pkgs/development/ocaml-modules/pprint/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchurl, ocaml, findlib}: + +stdenv.mkDerivation { + + name = "ocaml-pprint-20140424"; + + src = fetchurl { + url = http://gallium.inria.fr/~fpottier/pprint/pprint-20140424.tar.gz; + sha256 = "0sc9q89dnyarcg24czyhr6ams0ylqvia3745s6rfwd2nldpygsdk"; + }; + + buildInputs = [ ocaml findlib ]; + + createFindlibDestdir = true; + + dontBuild = true; + installFlags = "-C src"; + + meta = with stdenv.lib; { + homepage = http://gallium.inria.fr/~fpottier/pprint/; + description = "An OCaml adaptation of Wadler’s and Leijen’s prettier printer"; + license = licenses.cecill-c; + platforms = ocaml.meta.platforms; + }; +} + + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 867dddfa48e8..7b33c9e494cc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3439,6 +3439,8 @@ let minimal = false; }; + pprint = callPackage ../development/ocaml-modules/pprint { }; + pycaml = callPackage ../development/ocaml-modules/pycaml { }; opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { }; -- cgit v1.2.3 From cc387fa886cb48cd375922e347ba790999f9cb74 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 12 Sep 2014 10:17:15 +0200 Subject: Adds ocaml-functory Functory is a distributed computing library for Objective Caml which facilitates distributed execution of parallelizable computations in a seamless fashion. Further, it is polymorphic, incorporates a robust fault-tolerant mechanism and is already being deployed in real-world applications. Homepage: https://www.lri.fr/~filliatr/functory/ --- .../development/ocaml-modules/functory/default.nix | 26 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/ocaml-modules/functory/default.nix diff --git a/pkgs/development/ocaml-modules/functory/default.nix b/pkgs/development/ocaml-modules/functory/default.nix new file mode 100644 index 000000000000..b596272655e4 --- /dev/null +++ b/pkgs/development/ocaml-modules/functory/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, ocaml, findlib}: + +stdenv.mkDerivation { + + name = "ocaml-functory-0.5"; + + src = fetchurl { + url = https://www.lri.fr/~filliatr/functory/download/functory-0.5.tar.gz; + sha256 = "1j17rhifdjv1z262dma148ywg34x0zjn8vczdrnkwajsm4qg1hw3"; + }; + + buildInputs = [ ocaml findlib ]; + + installTargets = "ocamlfind-install"; + + createFindlibDestdir = true; + + meta = with stdenv.lib; { + homepage = https://www.lri.fr/~filliatr/functory/; + description = "A distributed computing library for Objective Caml which facilitates distributed execution of parallelizable computations in a seamless fashion"; + license = licenses.lgpl21; + platforms = ocaml.meta.platforms; + }; +} + + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b33c9e494cc..2b1f2fceef15 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3342,6 +3342,8 @@ let fix = callPackage ../development/ocaml-modules/fix { }; + functory = callPackage ../development/ocaml-modules/functory { }; + javalib = callPackage ../development/ocaml-modules/javalib { extlib = ocaml_extlib_maximal; }; -- cgit v1.2.3 From 829c49a686657d5779c83098506e86046db1a174 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 13 Sep 2014 09:33:17 +0200 Subject: Adds mezzo Mezzo is a programming language in the ML tradition, which places strong emphasis on the control of aliasing and access to mutable memory. Homepage: http://protz.github.io/mezzo/ --- pkgs/development/compilers/mezzo/default.nix | 29 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/compilers/mezzo/default.nix diff --git a/pkgs/development/compilers/mezzo/default.nix b/pkgs/development/compilers/mezzo/default.nix new file mode 100644 index 000000000000..183640f5985d --- /dev/null +++ b/pkgs/development/compilers/mezzo/default.nix @@ -0,0 +1,29 @@ +{stdenv, fetchurl, ocaml, findlib, menhir, yojson, ulex, pprint, fix, functory}: + +stdenv.mkDerivation { + + name = "mezzo-0.0.m8"; + + src = fetchurl { + url = https://github.com/protz/mezzo/archive/m8.tar.gz; + sha256 = "17mfapgqp8ssa5x9blv72zg9l561zbiwv3ikwi6nl9dd36lwkkc6"; + }; + + buildInputs = [ ocaml findlib yojson menhir ulex pprint fix functory ]; + + createFindlibDestdir = true; + + postInstall = '' + mkdir $out/bin + cp mezzo $out/bin/ + ''; + + meta = with stdenv.lib; { + homepage = http://protz.github.io/mezzo/; + description = "A programming language in the ML tradition, which places strong emphasis on the control of aliasing and access to mutable memory"; + license = licenses.gpl2; + platforms = ocaml.meta.platforms; + }; +} + + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b1f2fceef15..3fe33209372f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3372,6 +3372,8 @@ let merlin = callPackage ../development/tools/ocaml/merlin { }; + mezzo = callPackage ../development/compilers/mezzo { }; + mldonkey = callPackage ../applications/networking/p2p/mldonkey { }; mlgmp = callPackage ../development/ocaml-modules/mlgmp { }; -- cgit v1.2.3 From 67ba8bbbf95016eb7bf9034108f44a9ba2edcec8 Mon Sep 17 00:00:00 2001 From: Michel Kuhlmann Date: Mon, 15 Sep 2014 10:22:17 +0200 Subject: r-jsonlite: update to 0.9.11 --- pkgs/development/r-modules/cran-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/cran-packages.nix b/pkgs/development/r-modules/cran-packages.nix index e986944d45df..c0b259118d3a 100644 --- a/pkgs/development/r-modules/cran-packages.nix +++ b/pkgs/development/r-modules/cran-packages.nix @@ -2479,7 +2479,7 @@ let self = _self // overrides; _self = with self; { jpeg = derive { name="jpeg"; version="0.1-8"; sha256="05hawv5qcb82ljc1l2nchx1wah8mq2k2kfkhpzyww554ngzbwcnh"; depends=[]; }; JPSurv = derive { name="JPSurv"; version="1.0.1"; sha256="11hfji0nyfmw1d7y2cijpp7ivlv5s9k8g771kmgwy14wflkyf7g2"; depends=[]; }; jSonarR = derive { name="jSonarR"; version="1.0"; sha256="1369v79y2679p1c1s6pfi0zdj21zbbln3a4gqsxivx82m0lwqprp"; depends=[RCurl]; }; - jsonlite = derive { name="jsonlite"; version="0.9.10"; sha256="0w49mv4fabzgc86gv2jn9apwf9k6bk1s1p3mjmaxpmw95wgjpc9r"; depends=[]; }; + jsonlite = derive { name="jsonlite"; version="0.9.11"; sha256="4e6d86dfd1584ed2b96b1eb6c067b07847df5fff673d07ffacca6399c330552e"; depends=[]; }; jtrans = derive { name="jtrans"; version="0.1"; sha256="1wcrjyifsnpk9jfmwc1cx30qp5vavwl87i0avbbls8cmji7z0nay"; depends=[]; }; JudgeIt = derive { name="JudgeIt"; version="1.5.1"; sha256="1jssz1x9gw9hjpqlqbvlxa99icl8gffzl6qya0cnaxr50p82hdag"; depends=[]; }; Julia = derive { name="Julia"; version="1.0"; sha256="0df72mjkfsaz7wbrg3l6fcypwm59hdxxndjv1b833xa4qpq5301g"; depends=[]; }; -- cgit v1.2.3 From cb152d9ed0fd92ed82ce295c97d4d8f8462ff5b6 Mon Sep 17 00:00:00 2001 From: Michel Kuhlmann Date: Mon, 15 Sep 2014 11:15:51 +0200 Subject: r-rgdal/rgeos: adding gdal geos and proj as dependency --- pkgs/development/r-modules/cran-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/r-modules/cran-packages.nix b/pkgs/development/r-modules/cran-packages.nix index e986944d45df..3f693421dc55 100644 --- a/pkgs/development/r-modules/cran-packages.nix +++ b/pkgs/development/r-modules/cran-packages.nix @@ -38,7 +38,7 @@ let - inherit (pkgs) R fetchurl stdenv curl; + inherit (pkgs) R fetchurl stdenv curl gdal geos proj; buildRPackage = import ./generic-builder.nix R; @@ -4387,11 +4387,11 @@ let self = _self // overrides; _self = with self; { Rgbp = derive { name="Rgbp"; version="1.0.6"; sha256="1j4j7g9z7p592f82k0yvibrydynkd9v1ldil2vf3ikc650bn2l02"; depends=[sn]; }; RGCCA = derive { name="RGCCA"; version="2.0"; sha256="0mcp51z5jkn7yxmspp5cvmmvq0cwh7hj66g7wjmxsi74dwxcinvg"; depends=[MASS]; }; rgcvpack = derive { name="rgcvpack"; version="0.1-4"; sha256="1vlvw9slrra18qaizqk2xglzky0i6z3bsan85x908wrg8drss4h5"; depends=[]; }; - rgdal = derive { name="rgdal"; version="0.8-16"; sha256="17qk7kd0l0l52nyf6drr0gv4b0ibkggyn6g3ky9flsjy05b3wg8j"; depends=[sp]; }; + rgdal = derive { name="rgdal"; version="0.8-16"; sha256="17qk7kd0l0l52nyf6drr0gv4b0ibkggyn6g3ky9flsjy05b3wg8j"; depends=[sp gdal proj]; }; RGENERATE = derive { name="RGENERATE"; version="1.1"; sha256="1da3b50cfv5jb63ijzbnr226jadbww2bapcxzx8am7zydm6gqnss"; depends=[RMAWGEN]; }; RGenetics = derive { name="RGenetics"; version="0.1"; sha256="0x5sspd67hh08qm62whlnnd838m0np29q3bfzgwp6j85lhil3jrx"; depends=[]; }; rgenoud = derive { name="rgenoud"; version="5.7-12"; sha256="17gzkn4laylnksy8h2w8c0whcxpchsx7bwjzk1q5sfqxswclqq0g"; depends=[]; }; - rgeos = derive { name="rgeos"; version="0.3-6"; sha256="134cppgg5349i5qs9k2161fakd15l1fx1x6mgv28c5vic2xdm4wl"; depends=[sp]; }; + rgeos = derive { name="rgeos"; version="0.3-6"; sha256="134cppgg5349i5qs9k2161fakd15l1fx1x6mgv28c5vic2xdm4wl"; depends=[sp geos]; }; rgexf = derive { name="rgexf"; version="0.14.3.11"; sha256="16mil1csyzkaywcdrjzz5r60n4xhhinxawg30skc7d9awkf26qfa"; depends=[XML Rook igraph]; }; rggobi = derive { name="rggobi"; version="2.1.20"; sha256="1a7l68h3m9cq14k7y96ijgh0iz3d6j4j2anxg50pykz20lnykr9g"; depends=[RGtk2]; }; RGIFT = derive { name="RGIFT"; version="0.1-5"; sha256="1745fs4bq0ss39fiwljspvrmnkgbbpc1fjvhvcrsmp2iizq12sgn"; depends=[]; }; -- cgit v1.2.3 From afb405aed5ccd8402c52ded52d5feec1723f299b Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Fri, 12 Sep 2014 23:21:31 +1000 Subject: teamspeak_client: Remove qt4 dependency. --- .../networking/instant-messengers/teamspeak/client.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix index d7dc755e9abb..11a462f5b19b 100644 --- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix +++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix @@ -1,5 +1,7 @@ -{ stdenv, fetchurl, zlib, glib, libpng, freetype, xorg, fontconfig, alsaLib, makeWrapper, xlibs -, qt5, pulseaudio ? null, qt4, xkeyboard_config, libredirect }: +{ stdenv, fetchurl, makeWrapper, zlib, glib, libpng, freetype, xorg +, fontconfig, xlibs, qt5, xkeyboard_config, alsaLib, pulseaudio ? null +, libredirect +}: let @@ -9,8 +11,8 @@ let deps = [ zlib glib libpng freetype xorg.libSM xorg.libICE xorg.libXrender - xorg.libXrandr xorg.libXfixes xorg.libXcursor xorg.libXinerama xlibs.libxcb - fontconfig xorg.libXext xorg.libX11 alsaLib qt5 pulseaudio + xorg.libXrandr xorg.libXfixes xorg.libXcursor xorg.libXinerama + xlibs.libxcb fontconfig xorg.libXext xorg.libX11 alsaLib qt5 pulseaudio ]; in -- cgit v1.2.3 From 72d43c3e04ca0d3834518d53d3ba82e814b9f34f Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Fri, 12 Sep 2014 23:26:19 +1000 Subject: teamspeak_client: Use nixpkgs quazip instead of provided library. --- .../applications/networking/instant-messengers/teamspeak/client.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix index 11a462f5b19b..3870533aa89b 100644 --- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix +++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, makeWrapper, zlib, glib, libpng, freetype, xorg , fontconfig, xlibs, qt5, xkeyboard_config, alsaLib, pulseaudio ? null -, libredirect +, libredirect, quazip }: let @@ -55,7 +55,7 @@ stdenv.mkDerivation rec { installPhase = '' # Delete unecessary libraries - these are provided by nixos. - rm libQt*.so.* + rm *.so.* rm qt.conf # Install files. @@ -67,7 +67,7 @@ stdenv.mkDerivation rec { ln -s $out/lib/teamspeak/ts3client $out/bin/ts3client wrapProgram $out/bin/ts3client \ - --set LD_PRELOAD "${libredirect}/lib/libredirect.so:$out/lib/teamspeak/libquazip.so.1" \ + --set LD_PRELOAD "${libredirect}/lib/libredirect.so:${quazip}/lib/libquazip.so" \ --set QT_PLUGIN_PATH "$out/lib/teamspeak/platforms" \ --set NIX_REDIRECTS /usr/share/X11/xkb=${xkeyboard_config}/share/X11/xkb ''; -- cgit v1.2.3 From dd9550bca04592e3deecf4dbe059e1f08fab1f18 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Tue, 16 Sep 2014 00:31:56 -0400 Subject: update bud to 0.32.0 (WIP) --- pkgs/tools/networking/bud/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/bud/default.nix b/pkgs/tools/networking/bud/default.nix index 34e1a3964f67..500d78b4aec5 100644 --- a/pkgs/tools/networking/bud/default.nix +++ b/pkgs/tools/networking/bud/default.nix @@ -3,12 +3,12 @@ stdenv.mkDerivation rec { name = "bud-${version}"; - version = "0.25.0"; + version = "0.32.0"; src = fetchgit { url = "https://github.com/indutny/bud.git"; - rev = "f65b9c3531dac1a5b3c962e01f3bed1d41ab5621"; - sha256 = "000wwc88hsf6ccz8wxjn2af6l0nxm6a2fcad71xw35ymmdp9n5xg"; + rev = "1bfcc8c73c386f0ac12763949cd6c214058900a6"; + sha256 = "1lfq6q026yawi0ps0gf0nl9a76qkpcc40r3v7zrj9cxzjb9fcymc"; }; buildInputs = [ -- cgit v1.2.3 From 5302ae078997e6fca1ac3d4bdc99e64abbcbd7fb Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Tue, 16 Sep 2014 17:32:39 -0400 Subject: Configure gnupg to use pinentry by default. This makes gnupg much more usable out of the box. --- pkgs/tools/security/gnupg/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/gnupg/default.nix b/pkgs/tools/security/gnupg/default.nix index 64e2be90d30d..10fb11d32b9b 100644 --- a/pkgs/tools/security/gnupg/default.nix +++ b/pkgs/tools/security/gnupg/default.nix @@ -1,8 +1,6 @@ -# Remember to install Pinentry and -# 'echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf'. - { fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan , libksba, coreutils, libiconvOrEmpty +, pinentry , useLdap ? true, openldap ? null, useBzip2 ? true, bzip2 ? null , useUsb ? true, libusb ? null, useCurl ? true, curl ? null }: @@ -33,6 +31,10 @@ stdenv.mkDerivation rec { find . -name pcsc-wrapper.c | xargs sed -i 's/typedef unsinged int pcsc_dword_t/typedef unsigned int pcsc_dword_t/' ''; + configureFlags = + if pinentry != null then "--with-pinentry-pgm=${pinentry}/bin/pinentry" + else ""; + checkPhase="GNUPGHOME=`pwd` ./agent/gpg-agent --daemon make check"; doCheck = true; -- cgit v1.2.3 From ae8629a0d4f7f9b6f9ea21f6adaae08fd5d542b8 Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Tue, 16 Sep 2014 17:45:05 -0400 Subject: Remove obsolete patch. --- pkgs/tools/security/gnupg/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/tools/security/gnupg/default.nix b/pkgs/tools/security/gnupg/default.nix index 10fb11d32b9b..ff354169dccf 100644 --- a/pkgs/tools/security/gnupg/default.nix +++ b/pkgs/tools/security/gnupg/default.nix @@ -28,7 +28,6 @@ stdenv.mkDerivation rec { patchPhase = '' find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i - find . -name pcsc-wrapper.c | xargs sed -i 's/typedef unsinged int pcsc_dword_t/typedef unsigned int pcsc_dword_t/' ''; configureFlags = -- cgit v1.2.3 From 1274724c6294451a299b830cb4b769290d0c5f8d Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Tue, 16 Sep 2014 18:24:33 -0400 Subject: Remove use* options and let the user set optional dependies to null if they don't want to use them. --- pkgs/tools/security/gnupg/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/security/gnupg/default.nix b/pkgs/tools/security/gnupg/default.nix index ff354169dccf..d75abc09544d 100644 --- a/pkgs/tools/security/gnupg/default.nix +++ b/pkgs/tools/security/gnupg/default.nix @@ -1,15 +1,8 @@ { fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan , libksba, coreutils, libiconvOrEmpty -, pinentry -, useLdap ? true, openldap ? null, useBzip2 ? true, bzip2 ? null -, useUsb ? true, libusb ? null, useCurl ? true, curl ? null +, pinentry ? null, openldap ? null, bzip2 ? null, libusb ? null, curl ? null }: -assert useLdap -> (openldap != null); -assert useBzip2 -> (bzip2 != null); -assert useUsb -> (libusb != null); -assert useCurl -> (curl != null); - stdenv.mkDerivation rec { name = "gnupg-2.0.26"; @@ -19,12 +12,9 @@ stdenv.mkDerivation rec { }; buildInputs - = [ readline zlib libgpgerror libgcrypt libassuan libksba pth ] - ++ libiconvOrEmpty - ++ stdenv.lib.optional useLdap openldap - ++ stdenv.lib.optional useBzip2 bzip2 - ++ stdenv.lib.optional useUsb libusb - ++ stdenv.lib.optional useCurl curl; + = [ readline zlib libgpgerror libgcrypt libassuan libksba pth + openldap bzip2 libusb curl ] + ++ libiconvOrEmpty; patchPhase = '' find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i -- cgit v1.2.3 From e5170a1b4d9f91069b2e6c93611c67941f1bd692 Mon Sep 17 00:00:00 2001 From: Baptist BENOIST Date: Wed, 17 Sep 2014 00:20:12 +0200 Subject: vtk: Update from 5.10.0 to 5.10.1 --- pkgs/development/libraries/vtk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/vtk/default.nix b/pkgs/development/libraries/vtk/default.nix index 0e0625a2cbbe..9d16edb0f2e7 100644 --- a/pkgs/development/libraries/vtk/default.nix +++ b/pkgs/development/libraries/vtk/default.nix @@ -6,7 +6,7 @@ with stdenv.lib; let os = stdenv.lib.optionalString; majorVersion = "5.10"; - minorVersion = "0"; + minorVersion = "1"; version = "${majorVersion}.${minorVersion}"; in @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { name = "vtk-${os (qtLib != null) "qvtk-"}${version}"; src = fetchurl { url = "${meta.homepage}files/release/${majorVersion}/vtk-${version}.tar.gz"; - md5 = "a0363f78910f466ba8f1bd5ab5437cb9"; + sha256 = "1fxxgsa7967gdphkl07lbfr6dcbq9a72z5kynlklxn7hyp0l18pi"; }; buildInputs = [ cmake mesa libX11 xproto libXt ] -- cgit v1.2.3 From df7444ec65e25dae9a050abc4f52d8847096832d Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Tue, 16 Sep 2014 18:49:16 -0400 Subject: Apply recent changes from gnupg/default.nix to gnupg/git.nix gnupg/git.nix doesn't build, but it didn't build before either. --- pkgs/tools/security/gnupg/git.nix | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/pkgs/tools/security/gnupg/git.nix b/pkgs/tools/security/gnupg/git.nix index 69a0a68319fd..f8b5d8cc1507 100644 --- a/pkgs/tools/security/gnupg/git.nix +++ b/pkgs/tools/security/gnupg/git.nix @@ -1,17 +1,8 @@ -# Remember to install Pinentry and -# 'echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf'. - { fetchgit, stdenv, readline, zlib, libgpgerror, npth, libgcrypt, libassuan , libksba, coreutils, autoconf, automake, transfig, ghostscript, texinfo -, useLdap ? true, openldap ? null, useBzip2 ? true, bzip2 ? null, useUsb ? true -, libusb ? null, useCurl ? true, curl ? null +, pinentry ? null, openldap ? null, bzip2 ? null, libusb ? null, curl ? null }: -assert useLdap -> (openldap != null); -assert useBzip2 -> (bzip2 != null); -assert useUsb -> (libusb != null); -assert useCurl -> (curl != null); - stdenv.mkDerivation rec { name = "gnupg-2.1pre-git20120407"; @@ -22,18 +13,17 @@ stdenv.mkDerivation rec { }; buildInputs = [ readline zlib libgpgerror npth libgcrypt libassuan libksba - autoconf automake transfig ghostscript texinfo ] - ++ stdenv.lib.optional useLdap openldap - ++ stdenv.lib.optional useBzip2 bzip2 - ++ stdenv.lib.optional useUsb libusb - ++ stdenv.lib.optional useCurl curl; + openldap bzip2 libusb curl + autoconf automake transfig ghostscript texinfo ]; patchPhase = '' find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i ''; preConfigure = "autoreconf -v"; - configureFlags = "--enable-maintainer-mode"; + configureFlags = "--enable-maintainer-mode" + + (if pinentry != null then " --with-pinentry-pgm=${pinentry}/bin/pinentry" + else ""); meta = { description = "GNU Privacy Guard (GnuPG), GNU Project's implementation of the OpenPGP standard"; -- cgit v1.2.3 From 1aba100546fa77d9881fd0c6b978fb58305f5400 Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 16 Sep 2014 22:22:04 -0700 Subject: krb5: Update to 12.2.2. Fixes security vulnerabilities CVE-2014-4341, CVE-2014-4342, CVE-2014-4343, CVE-2014-4344 and CVE-2014-4345. --- pkgs/development/libraries/kerberos/krb5.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix index eeb09a68afbe..e1b4798dc0c1 100644 --- a/pkgs/development/libraries/kerberos/krb5.nix +++ b/pkgs/development/libraries/kerberos/krb5.nix @@ -2,7 +2,7 @@ let pname = "krb5"; - version = "1.11.3"; + version = "1.12.2"; name = "${pname}-${version}"; webpage = http://web.mit.edu/kerberos/; in @@ -11,8 +11,8 @@ stdenv.mkDerivation (rec { inherit name; src = fetchurl { - url = "${webpage}/dist/krb5/1.11/${name}-signed.tar"; - sha256 = "1daiaxgkxcryqs37w28v4x1vajqmay4l144d1zd9c2d7jjxr9gcs"; + url = "${webpage}dist/krb5/1.12/${name}-signed.tar"; + sha256 = "0i1p9xx5s9q0sqnnz7f3rba07882zciw0mwc6yvv7hmm0w0iig89"; }; buildInputs = [ perl ncurses yacc ]; -- cgit v1.2.3 From 771d1bd8658505e3aeae7b3eba3835fef033764f Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Thu, 18 Sep 2014 00:46:45 +0200 Subject: Add "cask" package --- .../editors/emacs-modes/cask/default.nix | 47 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/applications/editors/emacs-modes/cask/default.nix diff --git a/pkgs/applications/editors/emacs-modes/cask/default.nix b/pkgs/applications/editors/emacs-modes/cask/default.nix new file mode 100644 index 000000000000..90c32f0e2bc4 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/cask/default.nix @@ -0,0 +1,47 @@ +{ stdenv, fetchgit, emacs, python }: + +stdenv.mkDerivation rec { + name = "cask-0.7.2"; + + src = fetchgit { + url = "https://github.com/cask/cask.git"; + rev = "8d667e1ce3f3aa817a7b996f02058b2441f83958"; + sha256 = "08brrdyz7zsw134zwf4dyj6bj2glflszssfq8vya3mh01s38mfri"; + }; + + buildInputs = [ emacs python ]; + + # byte-compiling emacs files automatically triggers cask's bootstrap + # mechanism, what we don't want. + dontBuild = true; + + installPhase = '' + install -d "$out/share/emacs/site-lisp" + install cask*.el* "$out/share/emacs/site-lisp" + + install -d "$out/bin" + install bin/cask "$out/bin" + + # In order to work with cask's hard coded file paths (during bootstrap), + # we have to create these links. + ln -s "$out/share/emacs/site-lisp/"* "$out" + + # This file disables cask's self-updating function. + touch "$out/.no-upgrade" + ''; + + meta = with stdenv.lib; { + description = "Project management tool for Emacs"; + longDescription = + '' + Cask is a project management tool for Emacs that helps automate the + package development cycle; development, dependencies, testing, + building, packaging and more. Cask can also be used to manage + dependencies for your local Emacs configuration. + ''; + homepage = "https://github.com/cask/cask"; + license = licenses.gpl3Plus; + platforms = platforms.all; + maintainers = [ maintainers.jgeerds ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b58114113bb5..d336d941c5b9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8653,6 +8653,8 @@ let writeGood = callPackage ../applications/editors/emacs-modes/writegood { }; xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { }; + + cask = callPackage ../applications/editors/emacs-modes/cask { }; }; emacs24Packages = recurseIntoAttrs (emacsPackages emacs24 pkgs.emacs24Packages); -- cgit v1.2.3 From d67588a5f1a281942f10501c5c4a0ea21126f1d1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 17 Sep 2014 23:44:02 +0100 Subject: Fixes coq-8.3: requires OCaml 3.12 --- pkgs/development/ocaml-modules/lablgtk/2.14.0.nix | 37 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 14 +++++++-- 2 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/ocaml-modules/lablgtk/2.14.0.nix diff --git a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix new file mode 100644 index 000000000000..5fb9969e62ef --- /dev/null +++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix @@ -0,0 +1,37 @@ +{stdenv, fetchurl, ocaml, findlib, pkgconfig, gtk, libgnomecanvas, libglade, gtksourceview}: + +let + ocaml_version = (builtins.parseDrvName ocaml.name).version; + pname = "lablgtk"; + version = "2.14.0"; +in + +stdenv.mkDerivation (rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://forge.ocamlcore.org/frs/download.php/561/${name}.tar.gz"; + sha256 = "1fnh0amm7lwgyjdhmlqgsp62gwlar1140425yc1j6inwmgnsp0a9"; + }; + + buildInputs = [ocaml findlib pkgconfig gtk libgnomecanvas libglade gtksourceview]; + + configureFlags = "--with-libdir=$(out)/lib/ocaml/${ocaml_version}/site-lib"; + buildFlags = "world"; + + preInstall = '' + mkdir -p $out/lib/ocaml/${ocaml_version}/site-lib + export OCAMLPATH=$out/lib/ocaml/${ocaml_version}/site-lib/:$OCAMLPATH + ''; + + meta = { + platforms = ocaml.meta.platforms; + maintainers = [ + stdenv.lib.maintainers.z77z + stdenv.lib.maintainers.roconnor + ]; + homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html; + description = "LablGTK is is an Objective Caml interface to gtk+"; + license = stdenv.lib.licenses.lgpl21Plus; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4a8c95b376f1..3cc8ac8eddf3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3372,10 +3372,17 @@ let lablgl = callPackage ../development/ocaml-modules/lablgl { }; - lablgtk = callPackage ../development/ocaml-modules/lablgtk { + lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix { inherit (gnome) libgnomecanvas libglade gtksourceview; }; + lablgtk = + if lib.strings.versionAtLeast (builtins.parseDrvName ocaml.name).version "3.12" + then callPackage ../development/ocaml-modules/lablgtk { + inherit (gnome) libgnomecanvas libglade gtksourceview; + } + else lablgtk_2_14; + lablgtkmathview = callPackage ../development/ocaml-modules/lablgtkmathview { gtkmathview = callPackage ../development/libraries/gtkmathview { }; }; @@ -11242,8 +11249,9 @@ let }; coq_8_3 = callPackage ../applications/science/logic/coq/8.3.nix { - inherit (ocamlPackages) findlib lablgtk; - camlp5 = ocamlPackages.camlp5_transitional; + inherit (ocamlPackages_3_12_1) ocaml findlib; + camlp5 = ocamlPackages_3_12_1.camlp5_transitional; + lablgtk = ocamlPackages_3_12_1.lablgtk_2_14; }; cvc3 = callPackage ../applications/science/logic/cvc3 {}; -- cgit v1.2.3 From 86204e322f2fd8ad663906811c38b5eb2b361652 Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Wed, 17 Sep 2014 19:16:09 -0400 Subject: Add roconnor to GnuPG maintainers. --- pkgs/tools/security/gnupg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/gnupg/default.nix b/pkgs/tools/security/gnupg/default.nix index d75abc09544d..d42ae95498a1 100644 --- a/pkgs/tools/security/gnupg/default.nix +++ b/pkgs/tools/security/gnupg/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { S/MIME. ''; - maintainers = with stdenv.lib.maintainers; [ urkud ]; + maintainers = with stdenv.lib.maintainers; [ roconnor urkud ]; platforms = stdenv.lib.platforms.all; }; } -- cgit v1.2.3 From d9271891b926103a0c1206de044b6d34c164741d Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 14 Sep 2014 00:04:52 +0400 Subject: Added me as a maintainer. --- lib/maintainers.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index a6c41bbe17f1..129169e9b87b 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -10,6 +10,7 @@ akc = "Anders Claesson "; algorith = "Dries Van Daele "; all = "Nix Committers "; + abbradar = "Nikolay Amiantov "; amiddelk = "Arie Middelkoop "; amorsillo = "Andrew Morsillo "; AndersonTorres = "Anderson Torres "; -- cgit v1.2.3 From 3bed4d44d514d1fbd72da9d801410d2bf158a9bd Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 14 Sep 2014 22:33:43 +0400 Subject: libchardet: added package --- pkgs/development/libraries/libchardet/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/develop