forked from quackduck/uniclip
-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
25 lines (23 loc) · 789 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
description = "Cross-platform shared clipboard";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages.uniclip = pkgs.buildGoModule {
name = "uniclip";
src = ./.;
vendorSha256 = "sha256-Cmgb1BAAmQ5CnruNzCGKYd2qjTNttWemrlVIRHpfS2I=";
meta = with pkgs.lib; {
description = "Cross-platform shared clipboard";
homepage = "https://github.com/meliksah/uniclip";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
};
defaultPackage = packages.uniclip;
});
}