summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kmod-debian-aliases/default.nix
blob: 13fe500286d71c63724446024ee287310b31d4db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, lib }:
let
  version = "21-1";
in
stdenv.mkDerivation {
  name = "kmod-debian-aliases-${version}.conf";

  src = fetchurl {
    url = "mirror://debian/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
    sha256 = "1abpf8g3yx972by2xpmz6dwwyc1pgh6gjbvrivmrsws69vs0xjsy";
  };

  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 ];
  };
}