iptsd: init at 0.4
This commit is contained in:
parent
a2eaa1fb67
commit
e3f67ccdc0
37
pkgs/applications/misc/iptsd/default.nix
Normal file
37
pkgs/applications/misc/iptsd/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, systemd, inih }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "iptsd";
|
||||||
|
version = "0.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linux-surface";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-CoPgkt7n2kk7WlQHe0RjNlxfp2Nd8BbIE2gyf0bOBy4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ systemd inih ];
|
||||||
|
|
||||||
|
# Original installs udev rules and service config into global paths
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace meson.build \
|
||||||
|
--replace "install_dir: unitdir" "install_dir: datadir" \
|
||||||
|
--replace "install_dir: rulesdir" "install_dir: datadir" \
|
||||||
|
'';
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dsystemd=true"
|
||||||
|
"-Dsample_config=false"
|
||||||
|
"-Ddebug_tool=false"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Userspace daemon for Intel Precise Touch & Stylus";
|
||||||
|
homepage = "https://github.com/linux-surface/iptsd";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ tomberek ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -5821,6 +5821,8 @@ in
|
||||||
|
|
||||||
ipget = callPackage ../applications/networking/ipget { };
|
ipget = callPackage ../applications/networking/ipget { };
|
||||||
|
|
||||||
|
iptsd = callPackage ../applications/misc/iptsd { };
|
||||||
|
|
||||||
ipmitool = callPackage ../tools/system/ipmitool {};
|
ipmitool = callPackage ../tools/system/ipmitool {};
|
||||||
|
|
||||||
ipmiutil = callPackage ../tools/system/ipmiutil {};
|
ipmiutil = callPackage ../tools/system/ipmiutil {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user