Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 57 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, assertpy, buildPythonPackage, fetchFromGitHub, lark, poetry-core, pytestCheckHook, pythonOlder, regex, typing-extensions}:
buildPythonPackage rec { pname = "pycep-parser"; version = "0.4.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "gruebel"; repo = "pycep"; rev = "refs/tags/${version}"; hash = "sha256-ZKvFurD5DzByeqDJZdJHpkaUh00UoitCGYDh+TmF/Yc="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ lark regex typing-extensions ];
nativeCheckInputs = [ assertpy pytestCheckHook ];
postPatch = '' substituteInPlace pyproject.toml \ --replace 'regex = "^2022.3.15"' 'regex = "*"' '';
pythonImportsCheck = [ "pycep" ];
meta = with lib; { description = "Python based Bicep parser"; homepage = "https://github.com/gruebel/pycep"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}