mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
40 lines
855 B
Nix
40 lines
855 B
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: {
|
|
copyparty = self.python3.pkgs.callPackage ./contrib/package/nix/copyparty {
|
|
ffmpeg = self.ffmpeg-full;
|
|
};
|
|
};
|
|
}
|
|
// flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = {
|
|
allowAliases = false;
|
|
};
|
|
overlays = [ self.overlays.default ];
|
|
};
|
|
in
|
|
{
|
|
packages = {
|
|
inherit (pkgs) copyparty;
|
|
default = self.packages.${system}.copyparty;
|
|
};
|
|
}
|
|
);
|
|
}
|