tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
iptsd: init at 0.4
Tom Bereknyei
4 years ago
e3f67ccd
a2eaa1fb
+39
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
iptsd
default.nix
top-level
all-packages.nix
+37
pkgs/applications/misc/iptsd/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, systemd, inih }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
pname = "iptsd";
5
+
version = "0.4";
6
+
7
+
src = fetchFromGitHub {
8
+
owner = "linux-surface";
9
+
repo = pname;
10
+
rev = "v${version}";
11
+
sha256 = "sha256-CoPgkt7n2kk7WlQHe0RjNlxfp2Nd8BbIE2gyf0bOBy4=";
12
+
};
13
+
14
+
nativeBuildInputs = [ meson ninja pkg-config ];
15
+
16
+
buildInputs = [ systemd inih ];
17
+
18
+
# Original installs udev rules and service config into global paths
19
+
postPatch = ''
20
+
substituteInPlace meson.build \
21
+
--replace "install_dir: unitdir" "install_dir: datadir" \
22
+
--replace "install_dir: rulesdir" "install_dir: datadir" \
23
+
'';
24
+
mesonFlags = [
25
+
"-Dsystemd=true"
26
+
"-Dsample_config=false"
27
+
"-Ddebug_tool=false"
28
+
];
29
+
30
+
meta = with lib; {
31
+
description = "Userspace daemon for Intel Precise Touch & Stylus";
32
+
homepage = "https://github.com/linux-surface/iptsd";
33
+
license = licenses.gpl2Only;
34
+
maintainers = with maintainers; [ tomberek ];
35
+
platforms = platforms.linux;
36
+
};
37
+
}
+2
pkgs/top-level/all-packages.nix
···
5821
5822
ipget = callPackage ../applications/networking/ipget { };
5823
0
0
5824
ipmitool = callPackage ../tools/system/ipmitool {};
5825
5826
ipmiutil = callPackage ../tools/system/ipmiutil {};
···
5821
5822
ipget = callPackage ../applications/networking/ipget { };
5823
5824
+
iptsd = callPackage ../applications/misc/iptsd { };
5825
+
5826
ipmitool = callPackage ../tools/system/ipmitool {};
5827
5828
ipmiutil = callPackage ../tools/system/ipmiutil {};