iptsd: init at 0.4

+39
+37
pkgs/applications/misc/iptsd/default.nix
··· 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 5821 5822 5822 ipget = callPackage ../applications/networking/ipget { }; 5823 5823 5824 + iptsd = callPackage ../applications/misc/iptsd { }; 5825 + 5824 5826 ipmitool = callPackage ../tools/system/ipmitool {}; 5825 5827 5826 5828 ipmiutil = callPackage ../tools/system/ipmiutil {};