3
0
Fork 0
forked from mirrors/nixpkgs

archivy: 0.9.2 -> 0.9.3

This commit is contained in:
Ben Siraphob 2020-12-15 22:21:51 +07:00
parent 250cacea8c
commit 20a9e43d60

View file

@ -5,25 +5,25 @@ watchdog, wtforms }:
python3.pkgs.buildPythonApplication rec {
pname = "archivy";
version = "0.9.2";
version = "0.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "5cb760da57dc9dcdd62c0af824993d1715ec7035915629b4046d8bf50442756c";
sha256 = "b6ff08a9ecd0a929663c36c73844ac5cb4dc847e69aae639a450c64d4320a506";
};
# Relax some dependencies
postPatch = ''
substituteInPlace requirements.txt \
--replace 'validators ==' 'validators >=' \
--replace 'elasticsearch ==' 'elasticsearch >=' \
--replace 'python-dotenv ==' 'python-dotenv >=' \
--replace 'beautifulsoup4 ==' 'beautifulsoup4 >=' \
--replace 'WTForms ==' 'WTForms >=' \
--replace 'python_dotenv ==' 'python_dotenv >=' \
--replace 'attrs == 20.2.0' 'attrs' \
--replace 'beautifulsoup4 ==' 'beautifulsoup4 >=' \
--replace 'elasticsearch ==' 'elasticsearch >=' \
--replace 'python_dotenv ==' 'python_dotenv >=' \
--replace 'python_frontmatter == 0.5.0' 'python_frontmatter' \
--replace 'requests ==' 'requests >='
--replace 'requests ==' 'requests >=' \
--replace 'validators ==' 'validators >=' \
--replace 'watchdog ==' 'watchdog >='
'';
propagatedBuildInputs = [