1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/os-specific/linux/kmod-debian-aliases/default.nix
es_github 5d989f4d93 kmod-debian-aliases: Fix source tarball URL.
The original URL for this package was pointed at a location that wasn't
longterm-stable, and has by now been removed by Debian.
This commit fixes the URL to point at a debian snapshot entry, which should
stick around for the long run.

Hash is unchanged, so this is safe.
2017-07-03 02:50:24 +01:00

24 lines
661 B
Nix

{ stdenv, fetchurl, lib }:
stdenv.mkDerivation rec {
name = "kmod-debian-aliases-${version}.conf";
version = "22-1.1";
src = fetchurl {
url = "http://snapshot.debian.org/archive/debian/20160404T220610Z/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;
};
}