blob: 3189872ca3bca50a477a7fc9636efe5403daa744 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ stdenv
, boost
, cmake
, fetchFromGitHub
, pkgconfig
, txt2tags
}:
stdenv.mkDerivation rec {
name = "thunderbolt-${version}";
version = "0.9.2";
src = fetchFromGitHub {
owner = "01org";
repo = "thunderbolt-software-user-space";
rev = "1ae06410180320a5d0e7408a8d1a6ae2aa443c23";
sha256 = "03yk419gj0767lpk6zvla4jx3nx56zsg4x4adl4nd50xhn409rcc";
};
buildInputs = [
boost
cmake
pkgconfig
txt2tags
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DUDEV_BIN_DIR=$out/bin"
"-DUDEV_RULES_DIR=$out/udev"
];
meta = {
description = "Thunderbolt(TM) user-space components";
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.ryantrinkle ];
homepage = https://01.org/thunderbolt-sw;
platforms = stdenv.lib.platforms.linux;
};
}
|