blob: 6515ea3d1de511e96f36d72af61ccb597a611222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ pkgs ? import <nixpkgs> {} }:
with pkgs.stdenv.lib;
let
readme-renderer = pkgs.python3Packages.buildPythonPackage rec {
name = "readme_renderer";
version = "0.7.0";
src = pkgs.fetchurl {
url = "mirror://pypi/r/readme_renderer/readme_renderer-${version}.tar.gz";
sha256 = "1kh9ggff8m9sdgr631vf2n4k97h4z1871vay6qgk3ydy3rd856ak";
};
buildInputs = with pkgs.python3Packages; [ pytest ];
propagatedBuildInputs = with pkgs.python3Packages; [ docutils bleach pygments ];
};
devpi-web = pkgs.python3Packages.buildPythonPackage rec {
name = "devpi-web";
version = "3.2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/d/devpi-web/devpi-web-${version}.tar.gz";
sha256 = "1mwg2fcw88rn47ypnhg5f4s1r066129z922113shyinwrwfddhay";
};
propagatedBuildInputs = with pkgs.python3Packages; builtins.trace pkgs.devpi-server.version
[ pkgs.devpi-server pyramid_chameleon pygments docutils devpi-common
whoosh beautifulsoup4 defusedxml readme-renderer ];
meta = {
homepage = https://bitbucket.org/hpk42/devpi;
description = "a web view for devpi-server";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
};
in {
devpi-web = pkgs.python3.buildEnv.override {
extraLibs = [ devpi-web pkgs.devpi-server ];
};
}
|