diff options
author | Fernando J Pando <fernando.pando@stelligent.com> | 2016-08-25 12:04:33 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-30 12:06:18 +0200 |
commit | 251e67af5cf55fa7ccfa0e3f4340890c5005448e (patch) | |
tree | 02e0963369412d1ee61458df335a6187bbf7cc23 | |
parent | e8d326a43868aefacaf16620d7ca23ae9ca6fb9f (diff) | |
download | nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar.gz nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar.bz2 nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar.lz nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar.xz nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.tar.zst nixpkgs-251e67af5cf55fa7ccfa0e3f4340890c5005448e.zip |
pythonPackages.jsonref: init at 0.1
Tested on Linux Tested on Darwin
-rw-r--r-- | pkgs/top-level/python-packages.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0b6ae5ca978..7c3b20a160a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -29579,4 +29579,28 @@ in modules // { platforms = platforms.all; }; }; + + jsonref = buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "jsonref"; + version = "0.1"; + + meta = { + description = "An implementation of JSON Reference for Python."; + homepage = "http://github.com/gazpachoking/jsonref"; + license = licenses.mit; + maintainers = with maintainers; [ nand0p ]; + platforms = platforms.all; + }; + + buildInputs = with self; [ pytest mock ]; + checkPhase = '' + py.test tests.py + ''; + + src = pkgs.fetchurl { + url = "mirror://pypi/j/${pname}/${name}.tar.gz"; + sha256 = "1lqa8dy1sr1bxi00ri79lmbxvzxi84ki8p46zynyrgcqhwicxq2n"; + }; + }; } |