mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #307518 from isabelroses/maintain
treewide: adopt orphaned packages
This commit is contained in:
commit
2a1372e719
@ -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";
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user