1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00
nixpkgs/pkgs/development/python-modules/Mako/default.nix
Robert Schütz 4dcbcbb46e python.pkgs.Mako: use pytest_3
With pytest_42, we get
`[pytest] section in setup.cfg files is no longer supported`.
2019-02-17 14:40:50 +01:00

33 lines
720 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, markupsafe
, nose
, mock
, pytest_3
, isPyPy
}:
buildPythonPackage rec {
pname = "Mako";
version = "1.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae";
};
checkInputs = [ markupsafe nose mock pytest_3 ];
propagatedBuildInputs = [ markupsafe ];
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
meta = {
description = "Super-fast templating language";
homepage = http://www.makotemplates.org;
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ domenkozar ];
};
}