mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
24 lines
618 B
Nix
24 lines
618 B
Nix
{ stdenv, fetchurl, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kmod-debian-aliases-${version}.conf";
|
|
version = "22-1.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
|
|
sha256 = "0daap2n4bvjqcnksaayy6csmdb1px4r02w3xp36bcp6w3lbnqamh";
|
|
};
|
|
|
|
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 ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|