python3Packages.canonicaljson: 1.4.0 -> 1.5.0
This commit is contained in:
parent
1326545a4e
commit
04c91b2c6f
1 changed files with 15 additions and 9 deletions
|
@ -2,37 +2,43 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, frozendict
|
||||
, simplejson
|
||||
, six
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, simplejson
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "canonicaljson";
|
||||
version = "1.4.0";
|
||||
disabled = isPy27;
|
||||
version = "1.5.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "899b7604f5a6a8a92109115d9250142cdf0b1dfdcb62cdb21d8fb5bf37780631";
|
||||
sha256 = "sha256-Xr3c10xbBm7mjsylZGUzjpsTgEZ+CpBvR5dpfJ+zgeI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
frozendict
|
||||
simplejson
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_frozen_dict"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"canonicaljson"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Encodes objects and arrays as RFC 7159 JSON";
|
||||
homepage = "https://github.com/matrix-org/python-canonicaljson";
|
||||
description = "Encodes objects and arrays as RFC 7159 JSON.";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue