nixpkgs/pkgs/development/python-modules/cjson/default.nix

19 lines
468 B
Nix
Raw Normal View History

2018-03-31 16:21:14 +00:00
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPyPy }:
buildPythonPackage rec {
pname = "python-cjson";
2018-04-04 18:03:39 +00:00
version = "1.2.1";
2018-03-31 16:21:14 +00:00
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
2018-04-04 18:03:39 +00:00
sha256 = "52db2745264624768bfd9b604acb38f631bde5c2ec9b23861677d747e4558626";
2018-03-31 16:21:14 +00:00
};
meta = with stdenv.lib; {
description = "A very fast JSON encoder/decoder for Python";
homepage = http://ag-projects.com/;
license = licenses.lgpl2;
};
}