Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, poetry-core, jsonschema, pathable, pyyaml, typing-extensions, pytestCheckHook}:
buildPythonPackage rec { pname = "jsonschema-spec"; version = "0.1.4"; format = "pyproject"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "p1c2u"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-kLCV9WPWGrVgpbueafMVqtGmj3ifrBzTChE2kyxpyZk="; };
postPatch = '' sed -i "/--cov/d" pyproject.toml '';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ jsonschema pathable pyyaml typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { changelog = "https://github.com/p1c2u/jsonschema-spec/releases/tag/${version}"; description = "JSONSchema Spec with object-oriented paths"; homepage = "https://github.com/p1c2u/jsonschema-spec"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; };}