1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/python-modules/anyjson/default.nix

23 lines
572 B
Nix
Raw Normal View History

2018-08-03 13:23:41 +01:00
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose }:
2018-03-10 12:17:00 +00:00
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 ];
2018-08-03 13:23:41 +01:00
meta = with lib; {
homepage = https://bitbucket.org/runeh/anyjson/;
2018-03-10 12:17:00 +00:00
description = "Wrapper that selects the best available JSON implementation";
2018-08-03 13:23:41 +01:00
license = licenses.bsd2;
2018-03-10 12:17:00 +00:00
};
}