python312Packages.jsonfeed: init at 0.0.1

https://github.com/jibaku/jsonfeed
This commit is contained in:
Fabian Affolter 2024-04-16 09:44:35 +02:00
parent 4ad3bba1b6
commit b46e2fb0fb
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "jsonfeed";
version = "0.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-Etfi59oOCrLHavLRMQo3HASFnydrBnsyEtGUgcsv1aQ=";
};
postPatch = ''
# Mixing of dev and runtime requirements
substituteInPlace setup.py \
--replace-fail "install_requires=install_requires," "install_requires=[],"
'';
build-system = [ setuptools ];
dependencies = [ requests ];
# Module has no tests, only a placeholder
doCheck = false;
pythonImportsCheck = [ "jsonfeed" ];
meta = with lib; {
description = "Module to process json feed";
homepage = "https://pypi.org/project/jsonfeed/";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6079,6 +6079,8 @@ self: super: with self; {
jsondiff = callPackage ../development/python-modules/jsondiff { };
jsonfeed = callPackage ../development/python-modules/jsonfeed { };
jsonfield = callPackage ../development/python-modules/jsonfield { };
jsonlines = callPackage ../development/python-modules/jsonlines { };