depot/third_party/nixpkgs/pkgs/development/python-modules/jsonref/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

39 lines
759 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jsonref";
version = "1.0.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "gazpachoking";
repo = "jsonref";
rev = "refs/tags/v${version}";
hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs=";
};
nativeBuildInputs = [
poetry-core
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests.py"
];
meta = with lib; {
description = "An implementation of JSON Reference for Python";
homepage = "https://github.com/gazpachoking/jsonref";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}