mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
43 lines
819 B
Nix
43 lines
819 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, blinker
|
|
, tzlocal
|
|
, mock
|
|
, rednose
|
|
, flask
|
|
, six
|
|
, jsonschema
|
|
, pytz
|
|
, aniso8601
|
|
, flask-restful
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-restplus";
|
|
version = "0.10.1";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1qs9c3fzidd0m3r8rhw0zqrlsaqr2561z45xs6kg19l7c2x6g5qj";
|
|
};
|
|
|
|
checkInputs = [ nose blinker tzlocal mock rednose ];
|
|
propagatedBuildInputs = [ flask six jsonschema pytz aniso8601 flask-restful ];
|
|
|
|
# RuntimeError: Working outside of application context.
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/noirbizarre/flask-restplus;
|
|
description = "Fast, easy and documented API development with Flask";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|