pythonPackages.cjson: Move to own file

This commit is contained in:
Elis Hirwing
2018-03-31 18:21:14 +02:00
committed by Frederik Rietdijk
parent 6565c7cf7a
commit 3c991104a0
2 changed files with 19 additions and 17 deletions

View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPyPy }:
buildPythonPackage rec {
pname = "python-cjson";
version = "1.1.0";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "1cz87pd411h1fj5am99i19jp53yizcz9mkg1a7cc6a1pb6vsn7x0";
};
meta = with stdenv.lib; {
description = "A very fast JSON encoder/decoder for Python";
homepage = http://ag-projects.com/;
license = licenses.lgpl2;
};
}