pythonPAckages.ujson: refactor move to python-modules
This commit is contained in:
parent
1109081215
commit
2d7d2fa0e2
23
pkgs/development/python-modules/ujson/default.nix
Normal file
23
pkgs/development/python-modules/ujson/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4278,23 +4278,7 @@ in {
|
|||||||
|
|
||||||
carbon = callPackage ../development/python-modules/carbon { };
|
carbon = callPackage ../development/python-modules/carbon { };
|
||||||
|
|
||||||
ujson = buildPythonPackage rec {
|
ujson = callPackage ../development/python-modules/ujson { };
|
||||||
name = "ujson-1.35";
|
|
||||||
|
|
||||||
disabled = isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/u/ujson/${name}.tar.gz";
|
|
||||||
sha256 = "11jz5wi7mbgqcsz52iqhpyykiaasila4lq8cmc2d54bfa3jp6q7n";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://pypi.python.org/pypi/ujson;
|
|
||||||
description = "Ultra fast JSON encoder and decoder for Python";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
unidecode = callPackage ../development/python-modules/unidecode {};
|
unidecode = callPackage ../development/python-modules/unidecode {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user