python310Packages.pybars3,python311Packages.pybars3: init at 0.9.7
Co-authored-by: Rohit <rohitsutradhar311@gmail.com> Co-authored-by: Jeremy Fleischman <jeremyfleischman@gmail.com> Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com> Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com> Co-authored-by: Matúš Ferech <matus.ferech@gmail.com>
This commit is contained in:
parent
0baca7e30e
commit
82056f0fc3
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/pybars3/default.nix
Normal file
38
pkgs/development/python-modules/pybars3/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue