nixpkgs/pkgs/by-name/ne/netproxrc/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

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