Merge pull request #114496 from fabaff/bump-simplejson
python3Packages.simplejson: 3.17.0 -> 3.17.2
This commit is contained in:
commit
0e7717cb1c
|
@ -2,39 +2,35 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, stdenv
|
, stdenv
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "simplejson";
|
pname = "simplejson";
|
||||||
version = "3.17.0";
|
version = "3.17.2";
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1b1hhh1dia673vhq3jl2br1iqwb9yjii6iak56w96s9972vjbz3z";
|
sha256 = "sha256-2ZC7aKyUUcth43Ce0j6JdjrJ4gb4QfJDlY2M5TLMQ+o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Package does not need pytest, but its a bit easier debugging.
|
checkInputs = [ pytestCheckHook ];
|
||||||
checkInputs = [ pytest ];
|
|
||||||
# Ignore warnings because test does not expect them in stderr
|
|
||||||
# See https://github.com/simplejson/simplejson/issues/241
|
|
||||||
checkPhase = ''
|
|
||||||
PYTHONWARNINGS="ignore" pytest simplejson/tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [ "simplejson" ];
|
||||||
description = "A simple, fast, extensible JSON encoder/decoder for Python";
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Extensible JSON encoder/decoder for Python";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
simplejson is compatible with Python 2.4 and later with no
|
simplejson covers the full JSON specification for both encoding
|
||||||
external dependencies. It covers the full JSON specification
|
and decoding, with unicode support. By default, encoding is done
|
||||||
for both encoding and decoding, with unicode support. By
|
in an encoding neutral fashion (plain ASCII with \uXXXX escapes
|
||||||
default, encoding is done in an encoding neutral fashion (plain
|
for unicode characters).
|
||||||
ASCII with \uXXXX escapes for unicode characters).
|
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/simplejson/simplejson";
|
homepage = "https://github.com/simplejson/simplejson";
|
||||||
license = with lib.licenses; [ mit afl21 ];
|
license = with licenses; [ mit afl21 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue