stockholm/makefu/5pkgs/devpi/default.nix

44 lines
1.3 KiB
Nix
Raw Normal View History

2016-05-02 14:00:39 +00:00
{ pkgs ? import <nixpkgs> {} }:
2021-12-04 20:24:48 +00:00
with pkgs.lib;
2016-05-02 14:00:39 +00:00
let
2016-10-19 18:46:54 +00:00
readme-renderer = pkgs.python3Packages.buildPythonPackage rec {
name = "readme_renderer";
version = "0.7.0";
2016-05-02 14:00:39 +00:00
src = pkgs.fetchurl {
2016-10-19 18:46:54 +00:00
url = "mirror://pypi/r/readme_renderer/readme_renderer-${version}.tar.gz";
sha256 = "1kh9ggff8m9sdgr631vf2n4k97h4z1871vay6qgk3ydy3rd856ak";
2016-05-02 14:00:39 +00:00
};
2016-10-19 18:46:54 +00:00
buildInputs = with pkgs.python3Packages; [ pytest ];
propagatedBuildInputs = with pkgs.python3Packages; [ docutils bleach pygments ];
2016-05-02 14:00:39 +00:00
};
devpi-web = pkgs.python3Packages.buildPythonPackage rec {
name = "devpi-web";
2018-04-04 12:51:59 +00:00
version = "3.2.2";
2016-10-19 18:46:54 +00:00
2016-05-02 14:00:39 +00:00
src = pkgs.fetchurl {
2016-10-19 18:46:54 +00:00
url = "mirror://pypi/d/devpi-web/devpi-web-${version}.tar.gz";
2018-04-04 12:51:59 +00:00
sha256 = "1mwg2fcw88rn47ypnhg5f4s1r066129z922113shyinwrwfddhay";
2016-05-02 14:00:39 +00:00
};
2018-04-04 12:51:59 +00:00
propagatedBuildInputs = with pkgs.python3Packages; builtins.trace pkgs.devpi-server.version
[ pkgs.devpi-server pyramid_chameleon pygments docutils devpi-common
whoosh beautifulsoup4 defusedxml readme-renderer ];
2016-05-02 14:00:39 +00:00
meta = {
homepage = https://bitbucket.org/hpk42/devpi;
description = "a web view for devpi-server";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
};
2016-10-19 18:46:54 +00:00
2016-05-02 14:00:39 +00:00
in {
devpi-web = pkgs.python3.buildEnv.override {
2018-04-04 12:51:59 +00:00
extraLibs = [ devpi-web pkgs.devpi-server ];
};
2016-05-02 14:00:39 +00:00
}