Currently, owmods-cli
is in nixpkgs. (Nixpkgs status)
Alternatively, you can get the latest version from this repo.
The flake provides an overlay and the packages owmods-cli
and owmods-gui
.
ow-mod-man = {
url = "github:ow-mods/ow-mod-man";
inputs.nixpkgs.follows = "nixpkgs";
};
You can then reference ow-mod-man.packages.<system>.owmods-<gui/cli>
, or use the overlay, for example:
nixpkgs.overlays = [ inputs.ow-mod-man.overlays.default ]
If you can't or don't want to use flakes, you can use flake-compat.
let
flake-compat = import (fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz");
src = fetchGit {
url = "https://github.com/ow-mods/ow-mod-man.git";
ref = "main";
};
ow-mod-man = (flake-compat { inherit src; }).defaultNix;
in ow-mod-man.packages.<system>.owmods-<gui/cli>