nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "netproxrc";
9 version = "1.1.0";
10
11 src = fetchFromGitHub {
12 owner = "timbertson";
13 repo = "netproxrc";
14 rev = "version-${version}";
15 hash = "sha256-LyHFaT5kej1hy5z28XP+bOSCEj5DHqwMRkvrv/5inQU=";
16 };
17
18 vendorHash = "sha256-LWNn5qp+Z/M9xTtOZ5RDHq1QEFK/Y2XgBi7H5S7Z7XE=";
19
20 meta = with lib; {
21 description = "HTTP proxy injecting credentials from a .netrc file";
22 mainProgram = "netproxrc";
23 homepage = "https://github.com/timbertson/netproxrc";
24 license = licenses.mit;
25 maintainers = with maintainers; [ timbertson ];
26 };
27}