Loading pkgs/development/python-modules/pyxl3/default.nix +8 −15 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , unittest2 , python , fetchFromGitHub , pytestCheckHook , isPy27 }: Loading @@ -11,20 +10,14 @@ buildPythonPackage rec { version = "1.4"; disabled = isPy27; src = fetchPypi { inherit pname version; sha256 = "ad4cc56bf4b35def33783e6d4783882702111fe8f9a781c63228e2114067c065"; src = fetchFromGitHub { owner = "gvanrossum"; repo = pname; rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8"; hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo="; }; checkInputs = [ unittest2 ]; checkPhase = '' ${python.interpreter} tests/test_basic.py ''; # tests require weird codec installation # which is not necessary for major use of package doCheck = false; checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python 3 port of pyxl for writing structured and reusable inline HTML"; Loading Loading
pkgs/development/python-modules/pyxl3/default.nix +8 −15 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , unittest2 , python , fetchFromGitHub , pytestCheckHook , isPy27 }: Loading @@ -11,20 +10,14 @@ buildPythonPackage rec { version = "1.4"; disabled = isPy27; src = fetchPypi { inherit pname version; sha256 = "ad4cc56bf4b35def33783e6d4783882702111fe8f9a781c63228e2114067c065"; src = fetchFromGitHub { owner = "gvanrossum"; repo = pname; rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8"; hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo="; }; checkInputs = [ unittest2 ]; checkPhase = '' ${python.interpreter} tests/test_basic.py ''; # tests require weird codec installation # which is not necessary for major use of package doCheck = false; checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python 3 port of pyxl for writing structured and reusable inline HTML"; Loading