forked from mirrors/nixpkgs
Merge pull request #226771 from loco-choco/master
owmods-cli: init at 0.10.0
This commit is contained in:
commit
82a304b313
|
@ -9667,6 +9667,12 @@
|
|||
fingerprint = "1763 9903 2D7C 5B82 5D5A 0EAD A2BC 3C6F 1435 1991";
|
||||
}];
|
||||
};
|
||||
locochoco = {
|
||||
email = "contact@locochoco.dev";
|
||||
github = "loco-choco";
|
||||
githubId = 58634087;
|
||||
name = "Ivan Pancheniak";
|
||||
};
|
||||
lodi = {
|
||||
email = "anthony.lodi@gmail.com";
|
||||
github = "lodi";
|
||||
|
|
4830
pkgs/applications/misc/owmods-cli/Cargo.lock
generated
Normal file
4830
pkgs/applications/misc/owmods-cli/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
65
pkgs/applications/misc/owmods-cli/default.nix
Normal file
65
pkgs/applications/misc/owmods-cli/default.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, installShellFiles
|
||||
, zstd
|
||||
, openssl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "owmods-cli";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ow-mods";
|
||||
repo = "ow-mod-man";
|
||||
rev = "cli_v${version}";
|
||||
hash = "sha256-kumYLlp2LRqTQz23N9lriJJf7x2pPXbqqUvkiAhyMDY=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"tauri-plugin-window-state-0.1.0" = "sha256-M6uGcf4UWAU+494wAK/r2ta1c3IZ07iaURLwJJR9F3U=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
env = {
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
buildAndTestSubdir = "owmods_cli";
|
||||
|
||||
postInstall = ''
|
||||
cargo xtask dist_cli
|
||||
installManPage man/man*/*
|
||||
installShellCompletion --cmd owmods \
|
||||
dist/cli/completions/owmods.{bash,fish,zsh}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI version of the mod manager for Outer Wilds Mod Loader";
|
||||
homepage = "https://github.com/ow-mods/ow-mod-man/tree/main/owmods_cli";
|
||||
downloadPage = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${version}";
|
||||
changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${version}";
|
||||
mainProgram = "owmods";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ locochoco ];
|
||||
};
|
||||
}
|
|
@ -40321,6 +40321,10 @@ with pkgs;
|
|||
jre = openjdk19; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
|
||||
});
|
||||
|
||||
owmods-cli = callPackage ../applications/misc/owmods-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
r128gain = callPackage ../applications/audio/r128gain { };
|
||||
|
||||
resp-app = libsForQt5.callPackage ../applications/misc/resp-app { };
|
||||
|
|
Loading…
Reference in a new issue