Commit 82056f0f authored by Jeremy Fleischman's avatar Jeremy Fleischman Committed by Shahar "Dawn" Or
Browse files

python310Packages.pybars3,python311Packages.pybars3: init at 0.9.7

parent 0baca7e3
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ python3
, fetchPypi
, lib
, pymeta3
, buildPythonPackage
}:
buildPythonPackage rec {
  pname = "pybars3";
  version = "0.9.7";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ashH6QXlO5xbk2rxEskQR14nv3Z/efRSjBb5rx7A4lI=";
  };

  propagatedBuildInputs = [
    pymeta3
  ];

  checkPhase = ''
    runHook preCheck
    ${python3.interpreter} tests.py
    runHook postCheck
  '';

  pythonImportsCheck = [
    "pybars"
  ];

  meta = with lib; {
    description = "Handlebars.js template support for Python 3 and 2";
    homepage = "https://github.com/wbond/pybars3";
    changelog = "https://github.com/wbond/pybars3/releases/tag/${version}";
    license = licenses.lgpl3Only;
    maintainers = with maintainers; [ jfly matusf ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9013,6 +9013,8 @@ self: super: with self; {
  psrpcore = callPackage ../development/python-modules/psrpcore { };
  pybars3 = callPackage ../development/python-modules/pybars3 { };
  pypemicro = callPackage ../development/python-modules/pypemicro { };
  pyprecice = callPackage ../development/python-modules/pyprecice { };