Skip to content

Commit

Permalink
pythonPackages.flask_cache: remove
Browse files Browse the repository at this point in the history
The package is currently broken and most folks recommend to use
`flask-caching` (see
thadeusb/flask-cache#171).

The only package in `nixpkgs` which remained to use `flask_cache`
(`graphite_api`) still builds with `pythonPackages.flask-caching`.

The removal and corresponding `graphite_api` change unbreaks several
Hydra builds (see https://hydra.nixos.org/build/76953777).
  • Loading branch information
Ma27 committed Jul 17, 2018
1 parent bf23666 commit d3d1b88
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5499,23 +5499,6 @@ in {

flask-babel = callPackage ../development/python-modules/flask-babel { };

flask_cache = buildPythonPackage rec {
name = "Flask-Cache-0.13.1";

src = pkgs.fetchurl {
url = "mirror://pypi/F/Flask-Cache/${name}.tar.gz";
sha256 = "90126ca9bc063854ef8ee276e95d38b2b4ec8e45fd77d5751d37971ee27c7ef4";
};

propagatedBuildInputs = with self; [ werkzeug flask ];

meta = {
homepage = https://github.com/thadeusb/flask-cache;
description = "Adds cache support to your Flask application";
license = "BSD";
};
};

flask-caching = callPackage ../development/python-modules/flask-caching { };

flask-common = callPackage ../development/python-modules/flask-common { };
Expand Down Expand Up @@ -15852,7 +15835,7 @@ EOF

propagatedBuildInputs = with self; [
flask
flask_cache
flask-caching
cairocffi
pyparsing
pytz
Expand Down

0 comments on commit d3d1b88

Please sign in to comment.