2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-07-15 10:48:27 +01:00
|
|
|
, pytest, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonref";
|
2018-11-18 20:12:20 +00:00
|
|
|
version = "0.2";
|
2017-07-15 10:48:27 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-18 20:12:20 +00:00
|
|
|
sha256 = "15v69rg2lkcykb2spnq6vbbirv9sfq480fnwmfppw9gn3h95pi7k";
|
2017-07-15 10:48:27 +01:00
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ pytest mock ];
|
2017-07-15 10:48:27 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests.py
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-15 10:48:27 +01:00
|
|
|
description = "An implementation of JSON Reference for Python";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = "https://github.com/gazpachoking/jsonref";
|
2017-07-15 10:48:27 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nand0p ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|