mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +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.
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{ buildGoModule, fetchFromGitHub, lib, testers, github-release }:
|
|
|
|
buildGoModule rec {
|
|
pname = "github-release";
|
|
version = "0.10.1-unstable-2024-06-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github-release";
|
|
repo = "github-release";
|
|
rev = "d250e89a7bf00d54e823b169c3a4722a55ac67b0";
|
|
hash = "sha256-QDImy9VNJ3hfGVCpMoJ72Za3CiM3SVNH1D9RFHVM+4I=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [ "-s" ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = github-release;
|
|
version = "v${version}";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Commandline app to create and edit releases on Github (and upload artifacts)";
|
|
mainProgram = "github-release";
|
|
longDescription = ''
|
|
A small commandline app written in Go that allows you to easily create and
|
|
delete releases of your projects on Github.
|
|
In addition it allows you to attach files to those releases.
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/github-release/github-release";
|
|
maintainers = with maintainers; [ ardumont j03 ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|