mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
0509b86685
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
27 lines
604 B
Nix
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;
|
|
};
|
|
}
|