mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
One downside of the way the nix ecosystem works is that MacFUSE needs to be installed manually. Luckily the script tells you that already!
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-25.05";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
flake-utils,
|
|
}:
|
|
{
|
|
nixosModules.default = ./contrib/nixos/modules/copyparty.nix;
|
|
overlays.default = self: super: rec {
|
|
copyparty = self.python3.pkgs.callPackage ./contrib/package/nix/copyparty {
|
|
ffmpeg = self.ffmpeg-full;
|
|
};
|
|
|
|
partyfuse = super.callPackage ./contrib/package/nix/partyfuse {
|
|
inherit copyparty;
|
|
};
|
|
|
|
u2c = super.callPackage ./contrib/package/nix/u2c {
|
|
inherit copyparty;
|
|
};
|
|
};
|
|
}
|
|
// flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = {
|
|
allowAliases = false;
|
|
};
|
|
overlays = [ self.overlays.default ];
|
|
};
|
|
in
|
|
{
|
|
packages = {
|
|
inherit (pkgs)
|
|
copyparty
|
|
partyfuse
|
|
u2c
|
|
;
|
|
default = self.packages.${system}.copyparty;
|
|
};
|
|
|
|
formatter = pkgs.nixfmt-tree;
|
|
}
|
|
);
|
|
}
|