tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.pypiserver: init at 1.4.2
Austin Butler
4 years ago
309dc324
f9a4ee80
+42
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
pypiserver
default.nix
top-level
python-packages.nix
+40
pkgs/development/python-modules/pypiserver/default.nix
···
1
1
+
{ buildPythonPackage, fetchFromGitHub, lib, passlib, pytestCheckHook, setuptools
2
2
+
, setuptools-git, twine, webtest }:
3
3
+
4
4
+
buildPythonPackage rec {
5
5
+
pname = "pypiserver";
6
6
+
version = "1.4.2";
7
7
+
8
8
+
src = fetchFromGitHub {
9
9
+
owner = pname;
10
10
+
repo = pname;
11
11
+
rev = "v${version}";
12
12
+
sha256 = "1z5rsmqgin98m6ihy1ww42fxxr6jb4hzldn8vlc9ssv7sawdz8vz";
13
13
+
};
14
14
+
15
15
+
nativeBuildInputs = [ setuptools-git ];
16
16
+
17
17
+
propagatedBuildInputs = [ setuptools ];
18
18
+
19
19
+
preCheck = ''
20
20
+
export HOME=$TMPDIR
21
21
+
'';
22
22
+
23
23
+
checkInputs = [ passlib pytestCheckHook twine webtest ];
24
24
+
25
25
+
# These tests try to use the network
26
26
+
disabledTests = [
27
27
+
"test_pipInstall_openOk"
28
28
+
"test_pipInstall_authedOk"
29
29
+
"test_hash_algos"
30
30
+
];
31
31
+
32
32
+
pythonImportsCheck = [ "pypiserver" ];
33
33
+
34
34
+
meta = with lib; {
35
35
+
homepage = "https://github.com/pypiserver/pypiserver";
36
36
+
description = "Minimal PyPI server for use with pip/easy_install";
37
37
+
license = with licenses; [ mit zlib ];
38
38
+
maintainers = [ maintainers.austinbutler ];
39
39
+
};
40
40
+
}
+2
pkgs/top-level/python-packages.nix
···
5896
5896
5897
5897
pypinyin = callPackage ../development/python-modules/pypinyin { };
5898
5898
5899
5899
+
pypiserver = callPackage ../development/python-modules/pypiserver { };
5900
5900
+
5899
5901
pyplaato = callPackage ../development/python-modules/pyplaato { };
5900
5902
5901
5903
pyplatec = callPackage ../development/python-modules/pyplatec { };