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

19 lines
471 B
Nix
Raw Normal View History

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