mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
603 B
Nix
25 lines
603 B
Nix
{ lib, buildGoModule, fetchFromGitea }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tea";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "gitea.com";
|
|
owner = "gitea";
|
|
repo = "tea";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sZfg8+LIu1Ejvmr/o4X3EOz3fv+RvLhrGRf2yy+6t8c=";
|
|
};
|
|
|
|
vendorHash = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w=";
|
|
|
|
meta = with lib; {
|
|
description = "Gitea official CLI client";
|
|
homepage = "https://gitea.com/gitea/tea";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ j4m3s techknowlogick ];
|
|
mainProgram = "tea";
|
|
};
|
|
}
|