about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/flask-caching/default.nix
blob: 84f549231ce61f90fd260b160a1207f93d2f2295 (plain) (blame)
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
{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov }:

buildPythonPackage rec {
  pname = "Flask-Caching";
  version = "1.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e34f24631ba240e09fe6241e1bf652863e0cff06a1a94598e23be526bc2e4985";
  };

  propagatedBuildInputs = [ flask ];

  checkInputs = [ pytest pytestcov ];

  checkPhase = ''
    py.test
  '';

  # https://github.com/sh4nks/flask-caching/pull/74
  doCheck = false;

  meta = with lib; {
    description = "Adds caching support to your Flask application";
    homepage = https://github.com/sh4nks/flask-caching;
    license = licenses.bsd3;
  };
}