blob: 8cde64656acce1adc273a98be0dd2d9dbb8544cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 ];
};
}
|