mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
chameleonultragui: init at 1.3 (#455441)
This commit is contained in:
@@ -29671,6 +29671,11 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
wilaz = {
|
||||
name = "Wilaz";
|
||||
github = "Wilaz";
|
||||
githubId = 98198668;
|
||||
};
|
||||
wildsebastian = {
|
||||
name = "Sebastian Wild";
|
||||
email = "sebastian@wild-siena.com";
|
||||
|
||||
5
pkgs/by-name/ch/chameleonultragui/git_hashes.json
Normal file
5
pkgs/by-name/ch/chameleonultragui/git_hashes.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"file_saver": "sha256-3T4UVDkhjTmLakQqJ0/WCP9NOQlONHAzeK+y5gY7qa8=",
|
||||
"flutter_libserialport": "sha256-Ksj5U94kCoe5FQ85m4Ui0t+Z4ME94E6TcDq45Xms0dE=",
|
||||
"usb_serial": "sha256-sqGd5ECWVkqsW5ZGlnCV1veHsp0p7inBX2240Xe6NiU="
|
||||
}
|
||||
56
pkgs/by-name/ch/chameleonultragui/package.nix
Normal file
56
pkgs/by-name/ch/chameleonultragui/package.nix
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
flutter335,
|
||||
fetchFromGitHub,
|
||||
autoPatchelfHook,
|
||||
zenity,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
flutter335.buildFlutterApplication rec {
|
||||
pname = "chameleonultragui";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GameTec-live";
|
||||
repo = "ChameleonUltraGUI";
|
||||
tag = version;
|
||||
hash = "sha256-9Hwjx1nt/QD520eLMAB5xyFjOGfjZSwS83ARNn8GsFo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/chameleonultragui";
|
||||
|
||||
# curl https://raw.githubusercontent.com/GameTec-live/ChameleonUltraGUI/main/chameleonultragui/pubspec.lock | yq > pubspec.lock.json
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
gitHashes = lib.importJSON ./git_hashes.json;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
zenity
|
||||
ninja
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace linux/main.cc \
|
||||
--replace-fail '"../shared", "librecovery.so"' '"lib", "librecovery.so"'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm0644 aur/chameleonultragui.desktop $out/share/applications/chameleonultragui.desktop
|
||||
install -Dm0644 aur/chameleonultragui.png $out/share/pixmaps/chameleonultragui.png
|
||||
install -Dm0644 build/linux/*/release/shared/librecovery.so $out/app/chameleonultragui/lib
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Cross platform GUI for the Chameleon Ultra written in flutter";
|
||||
homepage = "https://github.com/GameTec-live/ChameleonUltraGUI";
|
||||
changelog = "https://github.com/GameTec-live/ChameleonUltraGUI/releases/${version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "chameleonultragui";
|
||||
maintainers = with lib.maintainers; [ wilaz ];
|
||||
};
|
||||
}
|
||||
1211
pkgs/by-name/ch/chameleonultragui/pubspec.lock.json
Normal file
1211
pkgs/by-name/ch/chameleonultragui/pubspec.lock.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user