forked from ssvb/cf-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
27 lines (27 loc) · 952 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
26
27
{
description = "Codeforces Tool is a command-line interface tool for Codeforces.";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-23.11;
};
outputs = {self, nixpkgs} @ inputs:
let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages."${system}";
lib = inputs.nixpkgs.lib;
in {
packages."${system}".default = pkgs.buildGoModule rec {
pname = "cf-tool";
version = "v1.0.0";
src = lib.cleanSource ./.;
vendorHash = null;
meta = {
description = "Codeforces Tool is a command-line interface tool for Codeforces.";
homepage = "https://github.com/xalanq/cf-tool";
# licence = licences.mit;
# maintainers = with pkgs.maintainers; [ rickyxrc ];
# platforms = platforms.all;
};
};
# is = "this a output?";
};
}