python.pkgs.flask_assets: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:26:04 +03:00
parent 2a32c8a1ed
commit 48db371328
2 changed files with 21 additions and 18 deletions

View File

@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchurl, flask, webassets, flask_script, nose }:
buildPythonPackage rec {
name = "Flask-Assets-${version}";
version = "0.12";
src = fetchurl {
url = "mirror://pypi/F/Flask-Assets/${name}.tar.gz";
sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
};
propagatedBuildInputs = [ flask webassets flask_script nose ];
meta = with lib; {
homepage = http://github.com/miracle2k/flask-assets;
description = "Asset management for Flask, to compress and merge CSS and Javascript files";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -7636,24 +7636,7 @@ in {
flask = callPackage ../development/python-modules/flask { };
flask_assets = buildPythonPackage rec {
name = "Flask-Assets-${version}";
version = "0.12";
src = pkgs.fetchurl {
url = "mirror://pypi/F/Flask-Assets/${name}.tar.gz";
sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
};
propagatedBuildInputs = with self; [ flask webassets flask_script nose ];
meta = {
homepage = "http://github.com/miracle2k/flask-assets";
description = "Asset management for Flask, to compress and merge CSS and Javascript files";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
};
flask_assets = callPackage ../development/python-modules/flask-assets { };
flask_cache = buildPythonPackage rec {
name = "Flask-Cache-0.13.1";