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 ];
};
}