From 712a03ee18e973cc897c2071ade565180397a243 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Fri, 9 Aug 2024 12:35:20 -0600 Subject: [PATCH 1/2] pkgs/intiface-engine: init at 1.4.8 --- flake.nix | 1 + pkgs/intiface-engine.nix | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/intiface-engine.nix diff --git a/flake.nix b/flake.nix index 1c4114b..68431c9 100644 --- a/flake.nix +++ b/flake.nix @@ -314,6 +314,7 @@ isUnstable = true; }; ttfs = upkgs.callPackage ./pkgs/ttfs.nix { }; + intiface-engine = upkgs.callPackage ./pkgs/intiface-engine.nix { }; flake-warn = spkgs.callPackage ./pkgs/flake-warn.nix { inherit spkgs; }; #kurinto = spkgs.callPackage ./pkgs/kurinto.nix {}; diff --git a/pkgs/intiface-engine.nix b/pkgs/intiface-engine.nix new file mode 100644 index 0000000..76efc57 --- /dev/null +++ b/pkgs/intiface-engine.nix @@ -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 ]; + }; +} From ff244ed06c18fb7e336db6472ee3acb40b5b2ba2 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 12 Aug 2024 21:39:56 -0600 Subject: [PATCH 2/2] flake: update lix to 2.91.0 --- flake.lock | 20 ++++++++++---------- flake.nix | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 635a945..b790ebf 100644 --- a/flake.lock +++ b/flake.lock @@ -206,15 +206,15 @@ "lix": { "flake": false, "locked": { - "lastModified": 1720626042, - "narHash": "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=", - "rev": "2a4376be20d70feaa2b0e640c5041fb66ddc67ed", + "lastModified": 1723503926, + "narHash": "sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s=", + "rev": "bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/2a4376be20d70feaa2b0e640c5041fb66ddc67ed.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2.tar.gz" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/2.90.0.tar.gz" + "url": "https://git.lix.systems/lix-project/lix/archive/2.91.0.tar.gz" } }, "lix-module": { @@ -227,15 +227,15 @@ ] }, "locked": { - "lastModified": 1720641669, - "narHash": "sha256-yEO2cGNgzm9x/XxiDQI+WckSWnZX63R8aJLBRSXtYNE=", - "rev": "5c48c833c15bb80d127a398a8c2484d42fdd8257", + "lastModified": 1723510904, + "narHash": "sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts=", + "rev": "622a2253a071a1fb97a4d3c8103a91114acc1140", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/5c48c833c15bb80d127a398a8c2484d42fdd8257.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/622a2253a071a1fb97a4d3c8103a91114acc1140.tar.gz" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz" + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz" } }, "mcchunkie": { diff --git a/flake.nix b/flake.nix index 68431c9..d6958e8 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ stable.url = "github:NixOS/nixpkgs/nixos-24.05-small"; lix-module = { - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"; + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"; inputs.nixpkgs.follows = "unstable"; };