nixpkgs/pkgs/development/python-modules/flask-assets/default.nix

25 lines
730 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }:
buildPythonPackage rec {
pname = "Flask-Assets";
2020-06-06 07:47:07 +01:00
version = "2.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:07 +01:00
sha256 = "1dfdea35e40744d46aada72831f7613d67bf38e8b20ccaaa9e91fdc37aa3b8c2";
};
patchPhase = ''
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
'';
propagatedBuildInputs = [ flask webassets flask_script nose ];
meta = with lib; {
homepage = "https://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 ];
};
}