Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions pkgs/by-name/in/intiface-central/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
lib,
fetchFromGitHub,
flutterPackages,
flutter327,
corrosion,
rustPlatform,
cargo,
Expand All @@ -10,15 +10,18 @@
copyDesktopItems,
makeDesktopItem,
}:
flutterPackages.stable.buildFlutterApplication rec {

flutter327.buildFlutterApplication rec {
pname = "intiface-central";
version = "2.6.4";
version = "2.6.5";

src = fetchFromGitHub {
owner = "intiface";
repo = "intiface-central";
rev = "v${version}";
hash = "sha256-QBNEKhjBfKxArBykUq/fE4lftCYzGdAaWYD1F7rar5Y=";
tag = "v${version}";
hash = "sha256-goN0750EvGw5G8cb4jy6wWnjlLwlwMeTz4GQEilbwpY=";
};

patches = [
./corrosion.patch
];
Expand All @@ -29,8 +32,9 @@ flutterPackages.stable.buildFlutterApplication rec {
name = "${pname}-${version}-cargo-deps";
inherit src;
sourceRoot = "${src.name}/intiface-engine-flutter-bridge";
hash = "sha256-1j1maTrR7V/Tlu7uimTJuoEtxhn5Hn0VmR0GnJuKIoo=";
hash = "sha256-z9i0xT0e8G9spOmXpI2yFee/y3ZEh69YqL+7zRWszzA=";
};

cargoRoot = "intiface-engine-flutter-bridge";

preConfigure = ''
Expand All @@ -45,19 +49,14 @@ flutterPackages.stable.buildFlutterApplication rec {
copyDesktopItems
];

buildInputs = [
udev
];
buildInputs = [ udev ];

# without this, only the splash screen will be shown and the logs will contain the
# line `Failed to load dynamic library 'lib/libintiface_engine_flutter_bridge.so'`
# Environmental variables don't quite eval outside of hooks so use pname and
# version directly.
extraWrapProgramArgs = "--chdir $out/app/${pname}";
extraWrapProgramArgs = "--chdir $out/app/intiface-central";

postInstall = ''
mkdir -p $out/share/pixmaps
cp $out/app/$pname/data/flutter_assets/assets/icons/intiface_central_icon.png $out/share/pixmaps/intiface-central.png
install -Dm644 $out/app/intiface-central/data/flutter_assets/assets/icons/intiface_central_icon.png $out/share/pixmaps/intiface-central.png
'';

desktopItems = [
Expand All @@ -70,12 +69,12 @@ flutterPackages.stable.buildFlutterApplication rec {
})
];

meta = with lib; {
meta = {
mainProgram = "intiface_central";
description = "Intiface Central (Buttplug Frontend) Application for Desktop";
homepage = "https://intiface.com/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ _999eagle ];
platforms = platforms.linux;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ _999eagle ];
platforms = lib.platforms.linux;
};
}
74 changes: 47 additions & 27 deletions pkgs/by-name/in/intiface-central/pubspec.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
"dependency": "transitive",
"description": {
"name": "_fe_analyzer_shared",
"sha256": "f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834",
"sha256": "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "72.0.0"
"version": "76.0.0"
},
"_macros": {
"dependency": "transitive",
"description": "dart",
"source": "sdk",
"version": "0.3.2"
"version": "0.3.3"
},
"analyzer": {
"dependency": "transitive",
"description": {
"name": "analyzer",
"sha256": "b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139",
"sha256": "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "6.7.0"
"version": "6.11.0"
},
"archive": {
"dependency": "transitive",
Expand Down Expand Up @@ -76,6 +76,16 @@
"source": "hosted",
"version": "2.1.1"
},
"buffer": {
"dependency": "transitive",
"description": {
"name": "buffer",
"sha256": "389da2ec2c16283c8787e0adaede82b1842102f8c8aae2f49003a766c5c6b3d1",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.2.3"
},
"build": {
"dependency": "transitive",
"description": {
Expand Down Expand Up @@ -230,11 +240,11 @@
"dependency": "transitive",
"description": {
"name": "collection",
"sha256": "ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a",
"sha256": "a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.18.0"
"version": "1.19.0"
},
"console": {
"dependency": "transitive",
Expand Down Expand Up @@ -316,6 +326,16 @@
"source": "hosted",
"version": "7.0.1"
},
"discord_rich_presence": {
"dependency": "direct main",
"description": {
"name": "discord_rich_presence",
"sha256": "ed30f3aa310fb96afe1d410ac0263f4f3013943981935332db08a037f340f4fd",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.1.1"
},
"easy_debounce": {
"dependency": "direct main",
"description": {
Expand Down Expand Up @@ -668,21 +688,21 @@
"dependency": "transitive",
"description": {
"name": "leak_tracker",
"sha256": "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05",
"sha256": "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "10.0.5"
"version": "10.0.7"
},
"leak_tracker_flutter_testing": {
"dependency": "transitive",
"description": {
"name": "leak_tracker_flutter_testing",
"sha256": "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806",
"sha256": "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "3.0.5"
"version": "3.0.8"
},
"leak_tracker_testing": {
"dependency": "transitive",
Expand Down Expand Up @@ -728,11 +748,11 @@
"dependency": "transitive",
"description": {
"name": "macros",
"sha256": "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536",
"sha256": "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.1.2-main.4"
"version": "0.1.3-main.0"
},
"markdown": {
"dependency": "direct main",
Expand Down Expand Up @@ -1258,7 +1278,7 @@
"dependency": "transitive",
"description": "flutter",
"source": "sdk",
"version": "0.0.99"
"version": "0.0.0"
},
"source_gen": {
"dependency": "transitive",
Expand Down Expand Up @@ -1304,11 +1324,11 @@
"dependency": "transitive",
"description": {
"name": "stack_trace",
"sha256": "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b",
"sha256": "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.11.1"
"version": "1.12.0"
},
"stream_channel": {
"dependency": "transitive",
Expand All @@ -1334,11 +1354,11 @@
"dependency": "transitive",
"description": {
"name": "string_scanner",
"sha256": "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde",
"sha256": "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.2.0"
"version": "1.3.0"
},
"term_glyph": {
"dependency": "transitive",
Expand All @@ -1354,11 +1374,11 @@
"dependency": "transitive",
"description": {
"name": "test_api",
"sha256": "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb",
"sha256": "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "0.7.2"
"version": "0.7.3"
},
"timezone": {
"dependency": "transitive",
Expand Down Expand Up @@ -1394,11 +1414,11 @@
"dependency": "transitive",
"description": {
"name": "typed_data",
"sha256": "facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c",
"sha256": "f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.3.2"
"version": "1.4.0"
},
"url_launcher": {
"dependency": "direct main",
Expand Down Expand Up @@ -1484,11 +1504,11 @@
"dependency": "transitive",
"description": {
"name": "uuid",
"sha256": "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90",
"sha256": "a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "4.4.2"
"version": "4.5.1"
},
"vector_math": {
"dependency": "transitive",
Expand All @@ -1514,11 +1534,11 @@
"dependency": "transitive",
"description": {
"name": "vm_service",
"sha256": "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d",
"sha256": "f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "14.2.5"
"version": "14.3.0"
},
"watcher": {
"dependency": "transitive",
Expand Down Expand Up @@ -1622,7 +1642,7 @@
}
},
"sdks": {
"dart": ">=3.5.0-259.0.dev <4.0.0",
"dart": ">=3.5.3 <4.0.0",
"flutter": ">=3.22.0"
}
}