python3Packages.uploadserver: init at 6.0.1 (#502032)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user