Merge pull request #307518 from isabelroses/maintain

treewide: adopt orphaned packages
This commit is contained in:
Aleksana 2024-04-29 04:09:20 +08:00 committed by GitHub
commit 2a1372e719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 30 additions and 20 deletions

View File

@ -1,5 +1,9 @@
{ lib, fetchFromGitHub, rustPlatform, git }:
{
lib,
fetchFromGitHub,
rustPlatform,
git,
}:
rustPlatform.buildRustPackage rec {
pname = "gitprompt-rs";
version = "0.3.0";
@ -14,15 +18,15 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0avs833vb6q1avjbfygm55s83iy942xgqsx6qdzksry44n35s418";
postPatch = ''
substituteInPlace src/main.rs \
--replace 'Command::new("git")' 'Command::new("${git}/bin/git")'
substituteInPlace src/main.rs \
--replace 'Command::new("git")' 'Command::new("${git}/bin/git")'
'';
meta = with lib; {
description = "Simple Git prompt";
homepage = "https://github.com/9ary/gitprompt-rs";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ isabelroses ];
mainProgram = "gitprompt-rs";
};
}

View File

@ -1,5 +1,8 @@
{ lib, buildGoModule, fetchFromGitHub }:
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "go-toml";
version = "2.2.1";
@ -19,13 +22,16 @@ buildGoModule rec {
"cmd/tomltestgen"
];
ldflags = [ "-s" "-w" ];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Go library for the TOML language";
homepage = "https://github.com/pelletier/go-toml";
changelog = "https://github.com/pelletier/go-toml/releases/tag/v${version}";
maintainers = [ ];
maintainers = [ maintainers.isabelroses ];
license = licenses.mit;
};
}

View File

@ -1,8 +1,8 @@
{ lib
, fetchFromGitHub
, buildGoModule
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "gotestsum";
version = "1.10.1";
@ -33,6 +33,6 @@ buildGoModule rec {
mainProgram = "gotestsum";
platforms = platforms.linux ++ platforms.darwin;
license = licenses.asl20;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ isabelroses ];
};
}

View File

@ -1,8 +1,8 @@
{ lib
, buildGoModule
, fetchFromGitHub
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "goflow2";
version = "2.1.3";
@ -26,6 +26,6 @@ buildGoModule rec {
description = "High performance sFlow/IPFIX/NetFlow Collector";
homepage = "https://github.com/netsampler/goflow2";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ isabelroses ];
};
}

View File

@ -33,7 +33,7 @@ buildGoModule rec {
homepage = "https://smallstep.com/cli/";
changelog = "https://github.com/smallstep/cli/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ isabelroses ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "step";
};