nixpkgs/pkgs/development/python-modules/jsonref/default.nix
R. RyanTM 0509b86685 python36Packages.jsonref: 0.1 -> 0.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-jsonref/versions
2018-11-18 12:12:20 -08:00

27 lines
604 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest, mock }:
buildPythonPackage rec {
pname = "jsonref";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "15v69rg2lkcykb2spnq6vbbirv9sfq480fnwmfppw9gn3h95pi7k";
};
buildInputs = [ pytest mock ];
checkPhase = ''
py.test tests.py
'';
meta = with stdenv.lib; {
description = "An implementation of JSON Reference for Python";
homepage = "https://github.com/gazpachoking/jsonref";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;
};
}