2022-12-30 20:13:21 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, poetry-core
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2017-07-15 16:48:27 +07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonref";
|
2022-12-30 20:13:21 +01:00
|
|
|
version = "1.0.1";
|
|
|
|
format = "pyproject";
|
2017-07-15 16:48:27 +07:00
|
|
|
|
2022-12-30 20:13:21 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gazpachoking";
|
|
|
|
repo = "jsonref";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs=";
|
2017-07-15 16:48:27 +07:00
|
|
|
};
|
|
|
|
|
2022-12-30 20:13:21 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
2017-07-15 16:48:27 +07:00
|
|
|
|
2022-12-30 20:13:21 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"tests.py"
|
|
|
|
];
|
2017-07-15 16:48:27 +07:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-07-15 16:48:27 +07:00
|
|
|
description = "An implementation of JSON Reference for Python";
|
2018-03-24 22:04:25 -07:00
|
|
|
homepage = "https://github.com/gazpachoking/jsonref";
|
2017-07-15 16:48:27 +07:00
|
|
|
license = licenses.mit;
|
2021-05-14 16:00:41 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-07-15 16:48:27 +07:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|