mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
canonicaljson: 1.6.5 -> 2.0.0
Signed-off-by: Sumner Evans <me@sumnerevans.com>
(cherry picked from commit 5da4f0f877)
This commit is contained in:
committed by
Maximilian Bosch
parent
2b1bba76a1
commit
3b414345ea
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, frozendict
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
@@ -10,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "canonicaljson";
|
||||
version = "1.6.4";
|
||||
version = "2.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-bAmyEZUR8w6xEmz82XOhCCTiDxz9JQOc3j0SGN2cjY8=";
|
||||
hash = "sha256-4v2u8df63F2ctZvT0NQbBk3dppeAmsQyXc7XIdEvET8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -28,20 +27,10 @@ buildPythonPackage rec {
|
||||
simplejson
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
frozendict = [
|
||||
frozendict
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_frozen_dict"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"canonicaljson"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user