about summary refs log tree commit diff
path: root/pkgs/development/python-modules/simplejson
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-05-24 21:08:39 +0000
committerLudovic Courtès <ludo@gnu.org>2009-05-24 21:08:39 +0000
commitbede9c4d50ed8d079dc386ff1c5964f3f1816e8b (patch)
tree4894a5eaa97c33d819a25c2d811078c0a4ad7334 /pkgs/development/python-modules/simplejson
parent7c34f5744b63b58a43e20ca628685a7c6d8ff3ac (diff)
downloadnixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar.gz
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar.bz2
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar.lz
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar.xz
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.tar.zst
nixlib-bede9c4d50ed8d079dc386ff1c5964f3f1816e8b.zip
Change Nevow, SimpleJSON, and Foolscap to use `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15707
Diffstat (limited to 'pkgs/development/python-modules/simplejson')
-rw-r--r--pkgs/development/python-modules/simplejson/default.nix45
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/development/python-modules/simplejson/default.nix b/pkgs/development/python-modules/simplejson/default.nix
deleted file mode 100644
index 9f53d9364f18..000000000000
--- a/pkgs/development/python-modules/simplejson/default.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ fetchsvn, stdenv, python, setuptools }:
-
-stdenv.mkDerivation rec {
-  name = "simplejson-2.0.9";
-
-  src = fetchsvn {
-    url = "http://simplejson.googlecode.com/svn/tags/${name}";
-    sha256 = "a48d5256fdb4f258c33da3dda110ecf3c786f086dcb08a01309acde6d1ddb921";
-    rev = "172";  # to be on the safe side
-  };
-
-  buildInputs = [ python ];
-  propagatedBuildInputs = [ setuptools ];
-
-  doCheck = true;
-
-  buildPhase     = "python setup.py build --build-base $out";
-  checkPhase     = "python setup.py test";
-
-  installPhase   = ''
-    ensureDir "$out/lib/python2.5/site-packages"
-
-    PYTHONPATH="$out/lib/python2.5/site-packages:$PYTHONPATH" \
-    python setup.py install --prefix="$out"
-
-    # Remove irrelevant directories.
-    rm -rvf "$out/"lib.* "$out/"temp.*
-  '';
-
-  meta = {
-    description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python";
-
-    longDescription = ''
-      simplejson is compatible with Python 2.4 and later with no
-      external dependencies.  It covers the full JSON specification
-      for both encoding and decoding, with unicode support.  By
-      default, encoding is done in an encoding neutral fashion (plain
-      ASCII with \uXXXX escapes for unicode characters).
-    '';
-
-    homepage = http://code.google.com/p/simplejson/;
-
-    license = "MIT";
-  };
-}