mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
cf-tool: init at 202405140250 (#337695)
This commit is contained in:
commit
ed7131db82
31
pkgs/by-name/cf/cf-tool/package.nix
Normal file
31
pkgs/by-name/cf/cf-tool/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "cf-tool";
|
||||
version = "202405140250";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sempr";
|
||||
repo = "cf-tool";
|
||||
rev = version;
|
||||
hash = "sha256-D+mJJw1+ImCrFpsv8HmaAwWqjYvUWouh8mgQ7hJxMrc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-R+mzfH9f422+WTiwIbDoBeEc+YYbW3tisUPlqrnFWbg=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB";
|
||||
homepage = "https://github.com/sempr/cf-tool";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bot-wxt1221 ];
|
||||
mainProgram = "cf";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user