mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
add Linux hot-plug
svn path=/nixpkgs/trunk/; revision=3626
This commit is contained in:
parent
28ed4c5fc4
commit
e5db73bd73
10
pkgs/os-specific/linux/hotplug/default.nix
Normal file
10
pkgs/os-specific/linux/hotplug/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hotplug-2004_03_29";
|
||||
src = fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/linux-hotplug/hotplug-2004_03_29.tar.gz;
|
||||
md5 = "167bd479a1ca30243c51ca088e0942b3";
|
||||
};
|
||||
patches = [./hotplug-install-path.patch];
|
||||
}
|
12
pkgs/os-specific/linux/hotplug/hotplug-install-path.patch
Normal file
12
pkgs/os-specific/linux/hotplug/hotplug-install-path.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN hotplug-2004_03_29/Makefile hotplug-2004_03_29.new/Makefile
|
||||
--- hotplug-2004_03_29/Makefile 2003-06-28 02:13:10.000000000 +0200
|
||||
+++ hotplug-2004_03_29.new/Makefile 2005-08-17 19:35:53.000000000 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
REV=$(shell date "+%Y_%m_%d"| awk '{print $$1}')
|
||||
|
||||
# System locations
|
||||
-prefix =
|
||||
+prefix = ${out}
|
||||
exec_prefix = ${prefix}
|
||||
etcdir = ${prefix}/etc
|
||||
sbindir = ${exec_prefix}/sbin
|
@ -1100,6 +1100,10 @@ rec {
|
||||
inherit fetchurl stdenv nasm perl;
|
||||
};
|
||||
|
||||
hotplug = import ../os-specific/linux/hotplug {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
### DATA
|
||||
|
||||
docbook_xml_dtd_42 = (import ../data/sgml+xml/schemas/xml-dtd/docbook-4.2) {
|
||||
|
Loading…
Reference in New Issue
Block a user