pythonPAckages.ujson: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 11:36:56 -04:00
parent 1109081215
commit 2d7d2fa0e2
2 changed files with 24 additions and 17 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
}:
buildPythonPackage rec {
pname = "ujson";
version = "1.35";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "11jz5wi7mbgqcsz52iqhpyykiaasila4lq8cmc2d54bfa3jp6q7n";
};
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/ujson;
description = "Ultra fast JSON encoder and decoder for Python";
license = licenses.bsd3;
};
}