diff options
Diffstat (limited to 'pkgs/by-name/ne/netproxrc/package.nix')
-rw-r--r-- | pkgs/by-name/ne/netproxrc/package.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/by-name/ne/netproxrc/package.nix b/pkgs/by-name/ne/netproxrc/package.nix new file mode 100644 index 0000000000000..93f965e40c6af --- /dev/null +++ b/pkgs/by-name/ne/netproxrc/package.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "netproxrc"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "timbertson"; + repo = "netproxrc"; + rev = "version-${version}"; + hash = "sha256-LyHFaT5kej1hy5z28XP+bOSCEj5DHqwMRkvrv/5inQU="; + }; + + vendorHash = "sha256-LWNn5qp+Z/M9xTtOZ5RDHq1QEFK/Y2XgBi7H5S7Z7XE="; + + meta = with lib; { + description = "A HTTP proxy injecting credentials from a .netrc file"; + mainProgram = "netproxrc"; + homepage = "https://github.com/timbertson/netproxrc"; + license = licenses.mit; + maintainers = with maintainers; [ timbertson ]; + }; +} |