nixpkgs/pkgs/development/python-modules/pycep-parser/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

47 lines
896 B
Nix

{
lib,
assertpy,
buildPythonPackage,
fetchFromGitHub,
lark,
poetry-core,
pytestCheckHook,
regex,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pycep-parser";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "gruebel";
repo = "pycep";
tag = version;
hash = "sha256-yCcJUN+gDeuifFoYyFsS5Ak/AYxLo0Q8edmhFYfi/eA=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
lark
regex
typing-extensions
];
nativeCheckInputs = [
assertpy
pytestCheckHook
];
pythonImportsCheck = [ "pycep" ];
meta = {
description = "Python based Bicep parser";
homepage = "https://github.com/gruebel/pycep";
changelog = "https://github.com/gruebel/pycep/blob/${version}/CHANGELOG.md";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}