grace/tpb

Tee your Paste Board

git clone https://git.gae.moe/grace/tpb

Grace Yoderbuild: package for nix6c032e8

main
583 B26 linesraw
1{
2  description = "Tee standard input into the system clipboard";
3
4  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
5
6  outputs = { nixpkgs, ... }:
7    let
8      systems = [
9        "aarch64-darwin"
10        "aarch64-linux"
11        "x86_64-linux"
12      ];
13      forAllSystems = nixpkgs.lib.genAttrs systems;
14    in
15    {
16      packages = forAllSystems (system:
17        let
18          pkgs = nixpkgs.legacyPackages.${system};
19          tpb = import ./default.nix { inherit pkgs; };
20        in
21        {
22          inherit tpb;
23          default = tpb;
24        });
25    };
26}