2015-09-06 01:11:03 +02:00
|
|
|
{ stdenv, fetchurl, lib }:
|
2016-06-12 20:15:42 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-06 01:11:03 +02:00
|
|
|
name = "kmod-debian-aliases-${version}.conf";
|
2016-06-12 20:15:42 +02:00
|
|
|
version = "22-1.1";
|
2015-09-06 01:11:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://snapshot.debian.org/archive/debian/20160404T220610Z/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
|
2016-06-12 20:15:42 +02:00
|
|
|
sha256 = "0daap2n4bvjqcnksaayy6csmdb1px4r02w3xp36bcp6w3lbnqamh";
|
2015-09-06 01:11:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patch -i patches/aliases_conf
|
|
|
|
cp aliases.conf $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://packages.debian.org/source/sid/kmod;
|
|
|
|
description = "Linux configuration file for modprobe";
|
|
|
|
maintainers = with lib.maintainers; [ mathnerd314 ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with lib.platforms; linux;
|
2015-09-06 01:11:03 +02:00
|
|
|
};
|
|
|
|
}
|