mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
24 lines
686 B
Nix
24 lines
686 B
Nix
{ stdenv, fetchurl, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kmod-debian-aliases.conf";
|
|
version = "30+20230601-2";
|
|
|
|
src = fetchurl {
|
|
url = "https://snapshot.debian.org/archive/debian/20231117T085632Z/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
|
|
hash = "sha256-xJMGKht8hu0aQjN9TER87Rv5EYkVMeDfX/jJ8+UjAqM=";
|
|
};
|
|
|
|
installPhase = ''
|
|
cp extra/aliases.conf $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://packages.debian.org/source/sid/kmod";
|
|
description = "Linux configuration file for modprobe";
|
|
maintainers = with maintainers; [ mathnerd314 ];
|
|
platforms = with platforms; linux;
|
|
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
|
};
|
|
}
|