mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
[META] Format nix README, add maintainer
This commit is contained in:
parent
80f2f84111
commit
f7107b94af
@ -44,6 +44,7 @@ This is the monorepo for the new <a href="https://www.mobiusdigitalgames.com/out
|
||||
- [JohnCorby](https://github.com/JohnCorby)
|
||||
- [BUNN1E5](https://github.com/BUNN1E5)
|
||||
- [ShoosGun](https://github.com/ShoosGun)
|
||||
- [JSpoonBaker](https://github.com/Spoonbaker)
|
||||
- Translations:
|
||||
- Chinese: [SmallGarfield](https://github.com/xiaojiafei520)
|
||||
|
||||
|
||||
@ -7,18 +7,22 @@ Alternatively, you can get the latest version from this repo.
|
||||
## Flakes
|
||||
|
||||
The flake provides an overlay and the packages `owmods-cli` and `owmods-gui`.
|
||||
|
||||
```nix
|
||||
ow-mod-man = {
|
||||
url = "github:ow-mods/ow-mod-man/dev";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
```
|
||||
|
||||
You can then reference `ow-mod-man.packages.<system>.owmods-<gui/cli>`, or use the overlay, for example:
|
||||
|
||||
```nix
|
||||
nixpkgs.overlays = [ inputs.ow-mod-man.overlays.default ]
|
||||
```
|
||||
|
||||
## Without flakes
|
||||
|
||||
If you can't or don't want to use flakes, you can use [flake-compat](https://github.com/edolstra/flake-compat).
|
||||
|
||||
```nix
|
||||
@ -30,5 +34,4 @@ let
|
||||
};
|
||||
ow-mod-man = (flake-compat { inherit src; }).defaultNix;
|
||||
in ow-mod-man.packages.<system>.owmods-<gui/cli>
|
||||
|
||||
```
|
||||
@ -33,10 +33,12 @@ rustPlatform.buildRustPackage rec {
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
installShellFiles
|
||||
] ++ lib.optional wrapWithMono makeWrapper;
|
||||
nativeBuildInputs =
|
||||
[
|
||||
pkg-config
|
||||
installShellFiles
|
||||
]
|
||||
++ lib.optional wrapWithMono makeWrapper;
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
@ -60,6 +62,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${version}";
|
||||
mainProgram = "owmods";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [locochoco];
|
||||
maintainers = with maintainers; [bwc9876 locochoco];
|
||||
};
|
||||
}
|
||||
|
||||
@ -100,6 +100,6 @@ rustPlatform.buildRustPackage rec {
|
||||
mainProgram = "outer-wilds-mod-manager";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [locochoco];
|
||||
maintainers = with maintainers; [bwc9876 locochoco];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user