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:
parent
0976e3b30c
commit
cb7307a8ac
39
pkgs/development/python-modules/dirtyjson/default.nix
Normal file
39
pkgs/development/python-modules/dirtyjson/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user