uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/development/python-modules/flask-assets/default.nix
Normal file
26
pkgs/development/python-modules/flask-assets/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Assets";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dfdea35e40744d46aada72831f7613d67bf38e8b20ccaaa9e91fdc37aa3b8c2";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
|
||||
substituteInPlace tests/test_integration.py --replace "static_folder = '/'" "static_folder = '/x'"
|
||||
substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'"
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue