This repository has no description
1{
2 inputs = {
3 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
4 };
5
6 outputs = { self, nixpkgs, ... }:
7 let
8 forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ]
9 (system: function (import nixpkgs {
10 inherit system;
11 overlays = [ self.overlays.default ];
12 }));
13 in
14 {
15 overlays.default = final: prev: rec {
16 colorgrab = final.callPackage ./nix/colorgrab.nix { };
17 prefon = final.callPackage ./nix/prefon.nix { };
18 scr = final.callPackage ./nix/scr.nix { };
19 thm = final.callPackage ./nix/thm.nix { };
20 vid2gif = final.callPackage ./nix/vid2gif.nix { };
21 yemou-scripts = final.symlinkJoin {
22 name = "yemou-scripts";
23 paths = [ colorgrab prefon scr thm vid2gif ];
24 };
25 };
26
27 packages = forAllSystems (pkgs: {
28 colorgrab = pkgs.colorgrab;
29 default = pkgs.yemou-scripts;
30 prefon = pkgs.prefon;
31 scr = pkgs.scr;
32 thm = pkgs.thm;
33 vid2gif = pkgs.vid2gif;
34 yemou-scripts = pkgs.yemou-scripts;
35 });
36 };
37}