pythonPackages.swagger-ui-bundle: init at 0.0.5
This commit is contained in:
parent
ea70d67235
commit
6270f3955e
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, jinja2, flake8 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "swagger-ui-bundle";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "swagger_ui_bundle";
|
||||
inherit version;
|
||||
sha256 = "0v69v94mzzb63ciwpz3n8jwxqcyll3fsyx087s9k9q543zdqzbh1";
|
||||
};
|
||||
|
||||
# patch away unused test requirements since package contains no tests
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "setup_requires=['pytest-runner', 'flake8']" "setup_requires=[]"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ jinja2 ];
|
||||
|
||||
# package contains no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "bundled swagger-ui pip package";
|
||||
homepage = https://github.com/dtkav/swagger_ui_bundle;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ elohmeier ];
|
||||
};
|
||||
}
|
|
@ -2818,6 +2818,8 @@ in {
|
|||
|
||||
starfish = callPackage ../development/python-modules/starfish { };
|
||||
|
||||
swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { };
|
||||
|
||||
multi_key_dict = callPackage ../development/python-modules/multi_key_dict { };
|
||||
|
||||
random2 = callPackage ../development/python-modules/random2 { };
|
||||
|
|
Loading…
Reference in a new issue