Unverified Commit 93bd7ec5 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.uploadserver: init at 6.0.1 (#502032)

parents c682b3c0 9c87c36a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9683,6 +9683,14 @@
    github = "Gigahawk";
    githubId = 10356230;
  };
  gigamonster256 = {
    email = "n0603919@outlook.com";
    github = "gigamonster256";
    githubId = 19415285;
    matrix = "@gigamonster256:matrix.org";
    name = "Caleb Norton";
    keys = [ { fingerprint = "483A 112B 3567 C4F0 DF89  74E1 D776 F570 2D7E 83AB"; } ];
  };
  giggio = {
    email = "giggio@giggio.net";
    github = "giggio";
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  urllib3,
  requests,
  curl,
}:
buildPythonPackage (finalAttrs: {
  pname = "uploadserver";
  version = "6.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Densaugeo";
    repo = "uploadserver";
    tag = finalAttrs.version;
    hash = "sha256-3obQZF9dY9rRVpeU4362o3ZC95hQtXFhxSNryxPAoLM=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
    urllib3
    requests
    curl
  ];

  env.VERBOSE = 0;
  env.PROTOCOL = "HTTP";
  enabledTestPaths = [ "test.py" ];

  pythonImportsCheck = [ "uploadserver" ];

  meta = {
    description = "Python's http.server extended to include a file upload page";
    homepage = "https://github.com/Densaugeo/uploadserver";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.gigamonster256 ];
    mainProgram = "uploadserver";
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -20517,6 +20517,8 @@ self: super: with self; {
  uplink-protobuf = callPackage ../development/python-modules/uplink-protobuf { };
  uploadserver = callPackage ../development/python-modules/uploadserver { };
  upnpy = callPackage ../development/python-modules/upnpy { };
  uproot = callPackage ../development/python-modules/uproot { };