about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ne/netproxrc/package.nix
blob: 4f3de9cc073fcbc52eda093d7861675ac7990462 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
}