Revert "kmod-blacklist-ubuntu: 9.3 -> 22.1"

This reverts commit 0c262a639e.
It broke X tests, though it's not clear why ATM.  Discussion:
https://github.com/NixOS/nixpkgs/pull/23890#issuecomment-288528788
This commit is contained in:
Vladimír Čunát 2017-03-22 21:44:06 +01:00
parent b2ba188656
commit 8c410f4b18
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,14 +1,13 @@
{ stdenv, fetchurl, gnugrep, findutils }:
let
version = "22-1.1ubuntu1"; # Zesty
in stdenv.mkDerivation {
version = "3ubuntu1"; # Saucy
in
stdenv.mkDerivation {
name = "kmod-blacklist-${version}";
src = fetchurl {
url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_${version}.debian.tar.xz";
sha256 = "1k749g707ccb82l4xmrkp53khl71f57cpj9fzd1qyzrz147fjyhi";
url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_9-${version}.debian.tar.gz";
sha256 = "0h6h0zw2490iqj9xa2sz4309jyfmcc50jdvkhxa1nw90npxglp67";
};
installPhase = ''
@ -28,9 +27,9 @@ in stdenv.mkDerivation {
--replace " xargs " " ${findutils}/bin/xargs "
'';
meta = with stdenv.lib; {
homepage = http://packages.ubuntu.com/source/zesty/kmod;
meta = {
homepage = http://packages.ubuntu.com/source/saucy/kmod;
description = "Linux kernel module blacklists from Ubuntu";
platforms = platforms.linux;
platforms = stdenv.lib.platforms.linux;
};
}