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
37
pkgs/development/python-modules/pyramid_mako/default.nix
Normal file
37
pkgs/development/python-modules/pyramid_mako/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, webtest
|
||||
, pyramid
|
||||
, Mako
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyramid_mako";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0066c863441f1c3ddea60cee1ccc50d00a91a317a8052ca44131da1a12a840e2";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix tests with pyramid >= 2.0
|
||||
# https://github.com/Pylons/pyramid_mako/pull/54
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Pylons/pyramid_mako/commit/c0f9e7e0146a7f94e35a9401b1519ac8b7765f5b.patch";
|
||||
sha256 = "15swfm0a07bdl32s85426rmjh72jwfasjcrl849ppg035z75q9fx";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ webtest ];
|
||||
propagatedBuildInputs = [ pyramid Mako ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Pylons/pyramid_mako";
|
||||
description = "Mako template bindings for the Pyramid web framework";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue