pkgs/intiface-engine: init at 1.4.8

This commit is contained in:
Aaron Bieber 2024-08-09 12:35:20 -06:00
parent 3499285e27
commit 712a03ee18
No known key found for this signature in database
2 changed files with 36 additions and 0 deletions

View File

@ -314,6 +314,7 @@
isUnstable = true; isUnstable = true;
}; };
ttfs = upkgs.callPackage ./pkgs/ttfs.nix { }; ttfs = upkgs.callPackage ./pkgs/ttfs.nix { };
intiface-engine = upkgs.callPackage ./pkgs/intiface-engine.nix { };
flake-warn = flake-warn =
spkgs.callPackage ./pkgs/flake-warn.nix { inherit spkgs; }; spkgs.callPackage ./pkgs/flake-warn.nix { inherit spkgs; };
#kurinto = spkgs.callPackage ./pkgs/kurinto.nix {}; #kurinto = spkgs.callPackage ./pkgs/kurinto.nix {};

35
pkgs/intiface-engine.nix Normal file
View File

@ -0,0 +1,35 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, dbus, simpleDBus, openssl, libudev-zero }:
rustPlatform.buildRustPackage rec {
pname = "intiface-engine";
version = "1.4.8";
src = fetchFromGitHub {
owner = "intiface";
repo = pname;
rev = "v${version}";
hash = "sha256-qhCvD1po1fXaGLxGv5/amCYKUakOf1VGu7KHfKPyDGI=";
};
VERGEN_GIT_SHA_SHORT = "98df405";
VERGEN_BUILD_TIMESTAMP = "2024-09-08";
cargoHash = "sha256-JbZsNTysnryQO/+hzCLBFXh79O/kQeW+GRldMF5blxw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
simpleDBus
openssl
libudev-zero
];
meta = with lib; {
description = "CLI and Library frontend for Buttplug";
homepage = "https://github.com/intiface/intiface-engine";
license = licenses.bsd3;
maintainers = [ maintainers.qbit ];
};
}