0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
39 lines
753 B
Nix
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;
|
|
};
|
|
}
|