nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 61 lines 1.1 kB view raw
1{ lib 2, aniso8601 3, blinker 4, buildPythonPackage 5, fetchPypi 6, flask 7, mock 8, nose 9, pytestCheckHook 10, pythonOlder 11, pytz 12, six 13, werkzeug 14}: 15 16buildPythonPackage rec { 17 pname = "flask-restful"; 18 version = "0.3.9"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 pname = "Flask-RESTful"; 25 inherit version; 26 hash = "sha256-zOxlC4NdSBkhOMhTKa4Dc15s7VjpstnCFG1shMBvpT4="; 27 }; 28 29 patches = lib.optionals (lib.versionAtLeast werkzeug.version "2.1.0") [ 30 ./werkzeug-2.1.0-compat.patch 31 ]; 32 33 propagatedBuildInputs = [ 34 aniso8601 35 flask 36 pytz 37 six 38 ]; 39 40 checkInputs = [ 41 blinker 42 mock 43 nose 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ 48 "flask_restful" 49 ]; 50 51 meta = with lib; { 52 description = "Framework for creating REST APIs"; 53 homepage = "https://flask-restful.readthedocs.io"; 54 longDescription = '' 55 Flask-RESTful provides the building blocks for creating a great 56 REST API. 57 ''; 58 license = licenses.bsd3; 59 maintainers = with maintainers; [ ]; 60 }; 61}