Merge branch 'master' into staging

This commit is contained in:
Domen Kožar
2015-11-11 12:53:36 +01:00
182 changed files with 11579 additions and 1124 deletions
@@ -1,12 +1,12 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "android-udev-rules-20150920";
name = "android-udev-rules-20151108";
src = fetchgit {
url = "https://github.com/M0Rf30/android-udev-rules";
rev = "d2e89a3f6deb096071b15e18b9e3608a02d62437";
sha256 = "bdc553a1eb4efc4e85866f61f50f2c2f7b8d09d2eb5122afad7c9b38e0fdc4fb";
rev = "3d21377820694cf8412e1fd09be5caaad3a5eef8";
sha256 = "2f90bc5822144df916d11ff5312c3179f1b905a7b003aa86056aa24ba433c99b";
};
installPhase = ''
+3 -4
View File
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, python3, which }:
let version = "0.10"; in
let version = "0.11"; in
stdenv.mkDerivation rec {
name = "fatrace-${version}";
src = fetchurl {
url = "http://launchpad.net/fatrace/trunk/${version}/+download/${name}.tar.bz2";
sha256 = "0q0cv2bsgf76wypz18v2acgj1crcdqhrhlsij3r53glsyv86xyra";
sha256 = "1f77v222nlfbf8fv7d28cnpm7x8xz0mhxavgz19c2jc51pjlv84s";
};
buildInputs = [ python3 which ];
@@ -27,11 +27,10 @@ stdenv.mkDerivation rec {
fatrace reports file access events from all running processes.
Its main purpose is to find processes which keep waking up the disk
unnecessarily and thus prevent some power saving.
Requires a Linux kernel with the FANOTIFY configuration option enabled.
Enabling X86_MSR is also recommended for power-usage-report on x86.
'';
maintainers = with maintainers; [ nckx ];
platforms = with platforms; linux;
platforms = platforms.linux;
};
}
+2 -2
View File
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.1.12";
version = "4.1.13";
extraMeta.branch = "4.1";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0q9zw731mn043fksl0cmbg8dr16f065378ys5x1h955rn93b4jab";
sha256 = "04xhkqjpb1rfqkq6hxzfma5cr039p1fad2fgims5ns09nvalq6dr";
};
features.iwlwifi = true;
+2 -2
View File
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.2.5";
version = "4.2.6";
# Remember to update grsecurity!
extraMeta.branch = "4.2";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "11riafz0nljlgx8fpbfwlb5kb07naca2p07vk2wrcwyzil1vnhvw";
sha256 = "0p7v6v3v9kn7w5iragi5hx0dylhis0jy6xmk77gka486q1ynpnqp";
};
features.iwlwifi = true;
+2 -2
View File
@@ -1,6 +1,6 @@
{ lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils
, withGtk ? false, gtk ? null }:
, zlib, withGtk ? false, gtk ? null }:
with lib;
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
# perf refers both to newt and slang
# binutils is required for libbfd.
nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ];
buildInputs = [ python perl newt slang pkgconfig libunwind binutils ] ++
buildInputs = [ python perl newt slang pkgconfig libunwind binutils zlib ] ++
stdenv.lib.optional withGtk gtk;
# Note: we don't add elfutils to buildInputs, since it provides a
@@ -1,12 +1,15 @@
{ stdenv, fetchurl, zlib }:
let version = "2.0.10"; in
let version = "2.0.11"; in
stdenv.mkDerivation rec {
name = "kexec-tools-${version}";
src = fetchurl {
url = "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz";
sha256 = "18x134nj37j1rshn5hxbyhdcv9kk5sfshs72alkip1icf54l2gp2";
urls = [
"mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
"http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
];
sha256 = "1qrfka9xvy77k0rg3k0cf7xai0f9vpgsbs4l3bs8r4nvzy37j2di";
};
buildInputs = [ zlib ];
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, xz }:
stdenv.mkDerivation rec {
name = "mkinitcpio-nfs-utils-0.3";
src = fetchurl {
url = "https://sources.archlinux.org/other/mkinitcpio/${name}.tar.xz";
sha256 = "0fc93sfk41ycpa33083kyd7i4y00ykpbhj5qlw611bjghj4x946j";
# ugh, upstream...
name = "${name}.tar.gz";
};
makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];
postInstall = ''
rm -rf $out/usr
'';
meta = with stdenv.lib; {
homepage = https://archlinux.org/;
description = "ipconfig and nfsmount tools for root on NFS, ported from klibc";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}
+2 -1
View File
@@ -4,6 +4,7 @@
, kexectools, libmicrohttpd, linuxHeaders, libseccomp
, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
, pythonPackages ? null, pythonSupport ? false
, enableKDbus ? false
}:
assert stdenv.isLinux;
@@ -65,7 +66,7 @@ stdenv.mkDerivation rec {
"--with-sysvinit-path="
"--with-sysvrcnd-path="
"--with-rc-local-script-path-stop=/etc/halt.local"
];
] ++ stdenv.lib.optional enableKDbus "--enable-kdbus";
preConfigure =
''
+4 -3
View File
@@ -1,20 +1,21 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, linuxHeaders }:
stdenv.mkDerivation rec {
name = "trinity-${version}";
version = "1.5";
version = "1.6";
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "v${version}";
sha256 = "0diwkda6n7yw8plfanivncwangk2kv1acxv0kyk3ly5jhlajwc0s";
sha256 = "1jwgsjjbngn2dsnkflyigy3ajd0szksl30dlaiy02jc6mqi3nr0p";
};
patchPhase = ''
patchShebangs ./configure.sh
patchShebangs ./scripts/
substituteInPlace Makefile --replace '/usr/bin/wc' 'wc'
substituteInPlace configure.sh --replace '/usr/include/linux' '${linuxHeaders}/include/linux'
'';
configurePhase = "./configure.sh";
@@ -0,0 +1,25 @@
{ stdenv, kernel }:
stdenv.mkDerivation {
name = "x86_energy_perf_policy-${kernel.version}";
src = kernel.src;
postPatch = ''
cd tools/power/x86/x86_energy_perf_policy
sed -i 's,/usr,,g' Makefile
'';
preInstall = ''
mkdir -p $out/bin $out/share/man/man8
'';
makeFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
description = "Set the energy versus performance policy preference bias on recent X86 processors";
homepage = https://www.kernel.org.org/;
license = licenses.gpl2;
platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
};
}