depot/third_party/nixpkgs/pkgs/development/python-modules/jsonref/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

39 lines
753 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
];
checkInputs = [
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;
};
}