mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 15:26:34 +01:00
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.
47 lines
896 B
Nix
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 ];
|
|
};
|
|
}
|