depot/third_party/nixpkgs/pkgs/tools/networking/configurable-http-proxy/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
730 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "configurable-http-proxy";
version = "4.5.6";
src = fetchFromGitHub {
owner = "jupyterhub";
repo = "configurable-http-proxy";
rev = version;
hash = "sha256-nj6+GmBw5YSQs23rWVh3qU4jdzRdbPyx43QmZ3LRwn4=";
};
npmDepsHash = "sha256-3HzVI7L1BH9PEBcb7CWWRQqWdSlWiCTo0qqnlSHGn7Y=";
dontNpmBuild = true;
meta = {
changelog = "https://github.com/jupyterhub/configurable-http-proxy/blob/${src.rev}/CHANGELOG.md";
description = "Configurable-on-the-fly HTTP Proxy";
homepage = "https://github.com/jupyterhub/configurable-http-proxy";
license = lib.licenses.bsd3;
mainProgram = "configurable-http-proxy";
};
}