blob: 1d0d02988f8314b5f3d253e3cff25d5877eeec72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose }:
buildPythonPackage rec {
pname = "anyjson";
version = "0.3.3";
# The tests are written in a python2 syntax but anyjson is python3 valid
doCheck = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba";
};
buildInputs = [ nose ];
meta = with lib; {
homepage = "https://bitbucket.org/runeh/anyjson/";
description = "Wrapper that selects the best available JSON implementation";
license = licenses.bsd2;
};
}
|