mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
mtdev: add FreeBSD support
This commit is contained in:
parent
44dcf45342
commit
b994008cbf
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, evdev-proto }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mtdev";
|
||||
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD evdev-proto;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://bitmath.org/code/mtdev/";
|
||||
description = "Multitouch Protocol Translation Library";
|
||||
@ -20,6 +22,6 @@ stdenv.mkDerivation rec {
|
||||
See the kernel documentation for further details.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
platforms = with platforms; freebsd ++ linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user