depot/third_party/nixpkgs/pkgs/development/python-modules/pyramid/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

45 lines
968 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, webtest
, zope_component
, hupper
, PasteDeploy
, plaster
, plaster-pastedeploy
, repoze_lru
, translationstring
, venusian
, webob
, zope_deprecation
, zope_interface
, isPy35
}:
buildPythonPackage rec {
pname = "pyramid";
version = "2.0";
src = fetchPypi {
inherit pname version;
sha256 = "45431b387587ed0fac6213b54d6e9f0936f0cc85238a8f5af7852fc9484c5c77";
};
checkInputs = [ webtest zope_component ];
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
# Failing tests
# https://github.com/Pylons/pyramid/issues/1899
doCheck = !isPy35;
pythonImportsCheck = [ "pyramid" ];
meta = with lib; {
description = "The Pyramid Web Framework, a Pylons project";
homepage = "https://trypyramid.com/";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}