2018-06-23 14:27:58 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }:
|
2018-02-25 17:26:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "Flask-Assets";
|
2018-02-25 17:26:04 +00:00
|
|
|
version = "0.12";
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-25 17:26:04 +00:00
|
|
|
sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
|
|
|
|
};
|
|
|
|
|
2018-09-23 09:02:51 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
|
|
|
|
'';
|
|
|
|
|
2018-02-25 17:26:04 +00:00
|
|
|
propagatedBuildInputs = [ flask webassets flask_script nose ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://github.com/miracle2k/flask-assets;
|
2018-02-25 17:26:04 +00:00
|
|
|
description = "Asset management for Flask, to compress and merge CSS and Javascript files";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|