Merge pull request #332765 from phanirithvij/initial-contrib

This commit is contained in:
Marcus Ramberg 2024-08-08 08:08:57 +02:00 committed by GitHub
commit a138aeb0e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 169 additions and 0 deletions

View File

@ -15885,6 +15885,13 @@
githubId = 101753;
keys = [ { fingerprint = "5D69 CF04 B7BC 2BC1 A567 9267 00BC F29B 3208 0700"; } ];
};
phanirithvij = {
name = "Phani Rithvij";
email = "phanirithvij2000@gmail.com";
github = "phanirithvij";
githubId = 29627898;
matrix = "@phanirithvij:matrix.org";
};
phdcybersec = {
name = "Léo Lavaur";
email = "phdcybersec@pm.me";

View File

@ -0,0 +1,30 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "distrobox-tui";
version = "0.1.0";
src = fetchFromGitHub {
owner = "phanirithvij";
repo = "distrobox-tui";
rev = "v${version}";
hash = "sha256-J5stvhUNaU9YMczE56vC5bw2g67zsdVWiCi8k6KV/pU=";
};
vendorHash = "sha256-F7X3FBM/F0uPxbM3en0sk9a58O/meKnVsASgIlL7FCo=";
ldflags = [ "-s" ];
meta = with lib; {
description = "A TUI for DistroBox";
changelog = "https://github.com/phanirithvij/distrobox-tui/releases/tag/v${version}";
homepage = "https://github.com/phanirithvij/distrobox-tui";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "distrobox-tui";
};
}

View File

@ -0,0 +1,30 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gh-i";
version = "0.0.7";
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = "gh-i";
rev = "v${version}";
hash = "sha256-nVMWeXssSpfWsD20+qLvQp6Wlrp/DiVNLBR6qnvuD2M=";
};
vendorHash = "sha256-TSl+7N3W3BeW8UWxUdTv3cob2P7eLvO+80BLqcbhanQ=";
ldflags = [ "-s" ];
meta = with lib; {
description = "Search github issues interactively";
changelog = "https://github.com/gennaro-tedesco/gh-i/releases/tag/v${version}";
homepage = "https://github.com/gennaro-tedesco/gh-i";
license = licenses.asl20;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "gh-i";
};
}

View File

@ -0,0 +1,30 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gitcs";
version = "1.2.0";
src = fetchFromGitHub {
owner = "knbr13";
repo = "gitcs";
rev = "v${version}";
hash = "sha256-IyhVVRTKftZIzqMH5pBUMLPIk8bk0rVAxPKD6bABP68=";
};
vendorHash = "sha256-8yzPdVljnODOeI5yWh19BHsF4Pa9BWc49IwenMCVGZo=";
ldflags = [ "-s" ];
meta = with lib; {
description = "Scan local git repositories and generate a visual contributions graph";
changelog = "https://github.com/knbr13/gitcs/releases/tag/v${version}";
homepage = "https://github.com/knbr13/gitcs";
license = licenses.mit;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "gitcs";
};
}

View File

@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gogup";
version = "0.27.3";
src = fetchFromGitHub {
owner = "nao1215";
repo = "gup";
rev = "v${version}";
hash = "sha256-8DtD22kvGez2iX0VqoZ1zSydcNYnDz3r698nXEwtoZE=";
};
vendorHash = "sha256-yqCmo33ihkaPK8iL5cnCIGbOLkdXjuIWLwtgAa+KB8Y=";
doCheck = false;
ldflags = [
"-s"
"-X github.com/nao1215/gup/internal/cmdinfo.Version=v${version}"
];
meta = with lib; {
description = "Update binaries installed by 'go install' with goroutines";
changelog = "https://github.com/nao1215/gup/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/nao1215/gup";
license = licenses.asl20;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "gup";
};
}

View File

@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gomtree";
version = "0.5.4";
src = fetchFromGitHub {
owner = "vbatts";
repo = "go-mtree";
rev = "v${version}";
hash = "sha256-MDX16z4H1fyuV5atEsZHReJyvC+MRdeA54DORCFtpqI=";
};
vendorHash = null;
# test fails with nix due to ro file system
checkFlags = [ "-skip=^TestXattr$" ];
subPackages = [ "cmd/gomtree" ];
ldflags = [
"-s"
"-X main.Version=${version}"
];
meta = with lib; {
description = "File systems verification utility and library, in likeness of mtree(8)";
changelog = "https://github.com/vbatts/go-mtree/releases/tag/v${version}";
homepage = "https://github.com/vbatts/go-mtree";
license = licenses.bsd3;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "gomtree";
};
}