Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build poetry-core,
# propagates pathable, pyyaml, referencing, requests,
# tests pytestCheckHook, pytest-cov-stub, responses,}:
buildPythonPackage rec { pname = "jsonschema-spec"; version = "0.3.4"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "p1c2u"; repo = "jsonschema-spec"; tag = version; hash = "sha256-rCepDnVAOEsokKjWCuqDYbGIq6/wn4rsQRx5dXTUsYo="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"' '';
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "referencing" ];
propagatedBuildInputs = [ pathable pyyaml referencing requests ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub responses ];
passthru.skipBulkUpdate = true; # newer versions under the jsonschema-path name
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 ]; };}