mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
0f8df0b6f2
[Bjørn Forsman: * wrap some long lines * tweak meta attrs (don't repeat package name, s/meta.maintainer/meta.maintainers/) * provide a version number (v2.0) for 'evemu' (for nix-env) ]
21 lines
559 B
Nix
21 lines
559 B
Nix
{ stdenv, fetchurl, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libevdev-1.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.freedesktop.org/software/libevdev/${name}.tar.xz";
|
|
sha256 = "0h54ym5rsmicl4gx7gcdaifpyndakbl38c5dcxgr27f0cy0635a1";
|
|
};
|
|
|
|
buildInputs = [ python ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Wrapper library for evdev devices";
|
|
homepage = http://www.freedesktop.org/software/libevdev/doc/latest/index.html;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.amorsillo ];
|
|
};
|
|
}
|