nixpkgs/pkgs/by-name/ne/netproxrc/package.nix
2023-11-28 20:53:58 +11:00

22 lines
599 B
Nix

{ 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";
homepage = "https://github.com/timbertson/netproxrc";
license = licenses.mit;
maintainers = with maintainers; [ timbertson ];
};
}