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