;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
;;; Copyright (C) 2012 Nikita Karetnikov
;;;
;;; This file is part of Guix.
;;;
;;; Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with Guix. If not, see .
(define-module (distro packages udev)
#:use-module (guix licenses)
#:use-module (distro packages acl)
#:use-module (distro packages base)
#:use-module (distro packages gperf)
#:use-module (distro packages libusb)
#:use-module (distro packages linux)
#:use-module (distro packages pkg-config)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public udev
(package
(name "udev")
(version "182")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/utils/kernel/hotplug/udev-"
version ".tar.xz"))
(sha256
(base32
"1awp7p07gi083w0dwqhhbbas68a7fx2sbm1yf1ip2jwf7cpqkf5d"))))
(build-system gnu-build-system)
(inputs
`(("util-linux" ,util-linux)
("usbutils" ,usbutils)
("kmod" ,kmod)
("libusb" ,libusb)
("acl" ,acl)
("libc" ,glibc)
("pkg-config" ,pkg-config)
("gperf" ,gperf)))
(home-page
"https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html")
(synopsis "Udev manages the /dev filesystem")
(description
"Udev is a device manager for the Linux kernel. It manages device
nodes in /dev. It also handles all user space actions connected with
adding and removing devices.")
(license '(gpl2+ lgpl2.1+))))