python311Packages.dirtyjson: init at 1.0.8

JSON decoder for Python that can extract data from the muck

https://github.com/codecobblers/dirtyjson
This commit is contained in:
Fabian Affolter 2024-02-25 13:56:14 +01:00
parent 0976e3b30c
commit cb7307a8ac
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "dirtyjson";
version = "1.0.8";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-kMpKGPP/MM6EnRANz0oAOVPHnTojSO8Fbx2cIiMaJf0=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"dirtyjson"
];
meta = with lib; {
description = "JSON decoder for Python that can extract data from the muck";
homepage = "https://github.com/codecobblers/dirtyjson";
license = with licenses; [ afl21 /* and */ mit];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2920,6 +2920,8 @@ self: super: with self; {
dirty-equals = callPackage ../development/python-modules/dirty-equals { };
dirtyjson = callPackage ../development/python-modules/dirtyjson { };
discid = callPackage ../development/python-modules/discid { };
discogs-client = callPackage ../development/python-modules/discogs-client { };