Merge pull request #94117 from marsam/enable-ihatemoney-darwin
python38Packages.ihatemoney: enable on darwin
This commit is contained in:
commit
24b1d2455f
3 changed files with 13 additions and 10 deletions
|
@ -1,7 +1,4 @@
|
|||
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder
|
||||
, flask, blinker, twill }:
|
||||
|
||||
with stdenv.lib;
|
||||
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, flask, blinker, twill }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Testing";
|
||||
|
@ -13,13 +10,20 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/twill==0.9.1/twill/' setup.py
|
||||
substituteInPlace setup.py --replace "twill==0.9.1" "twill"
|
||||
'';
|
||||
|
||||
buildInputs = optionals (pythonOlder "3.0") [ twill ];
|
||||
propagatedBuildInputs = [ flask blinker ];
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
||||
meta = {
|
||||
checkInputs = [ blinker ] ++ stdenv.lib.optionals (!isPy3k) [ twill ];
|
||||
|
||||
# twill integration is outdated in Python 2, hence it the tests fails.
|
||||
# Some of the tests use localhost networking on darwin.
|
||||
doCheck = isPy3k && !stdenv.isDarwin;
|
||||
|
||||
pythonImportsCheck = [ "flask_testing" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Flask unittest integration.";
|
||||
homepage = "https://pythonhosted.org/Flask-Testing/";
|
||||
license = licenses.bsd3;
|
||||
|
|
|
@ -122,7 +122,6 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
homepage = "https://ihatemoney.org";
|
||||
description = "A simple shared budget manager web application";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.beerware;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://twill.idyll.org/";
|
||||
homepage = "https://twill-tools.github.io/twill/";
|
||||
description = "A simple scripting language for Web browsing";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
|
|
Loading…
Reference in a new issue