diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a886d93ae701..b44edb087bf3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/by-name/di/distrobox-tui/package.nix b/pkgs/by-name/di/distrobox-tui/package.nix new file mode 100644 index 000000000000..858bcea643f8 --- /dev/null +++ b/pkgs/by-name/di/distrobox-tui/package.nix @@ -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"; + }; +} diff --git a/pkgs/by-name/gh/gh-i/package.nix b/pkgs/by-name/gh/gh-i/package.nix new file mode 100644 index 000000000000..aa94719e4edb --- /dev/null +++ b/pkgs/by-name/gh/gh-i/package.nix @@ -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"; + }; +} diff --git a/pkgs/by-name/gi/gitcs/package.nix b/pkgs/by-name/gi/gitcs/package.nix new file mode 100644 index 000000000000..eec5ebc7203b --- /dev/null +++ b/pkgs/by-name/gi/gitcs/package.nix @@ -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"; + }; +} diff --git a/pkgs/by-name/go/gogup/package.nix b/pkgs/by-name/go/gogup/package.nix new file mode 100644 index 000000000000..269a9a1a399a --- /dev/null +++ b/pkgs/by-name/go/gogup/package.nix @@ -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"; + }; +} diff --git a/pkgs/by-name/go/gomtree/package.nix b/pkgs/by-name/go/gomtree/package.nix new file mode 100644 index 000000000000..3e06b58fad51 --- /dev/null +++ b/pkgs/by-name/go/gomtree/package.nix @@ -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"; + }; +}