git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.pyplaato: disable on older Python releases
commit24b77b240d65e9150983a7853fde194f4e02ca5e authorFabian Affolter <mail@fabian-affolter.ch> dateFri 8 Apr 2022, 12:13 (5 years ago) parent5f26730
1 file changed+14−4
pkgs/development/python-modules/pyplaato/default.nix+14−4
pkgs/development/python-modules/pyplaato/default.nix+14−4
@@ -3,22 +3,32 @@
33, fetchPypi
44, aiohttp
55, python-dateutil
6+, pythonOlder
67}:
78
89buildPythonPackage rec {
910 pname = "pyplaato";
1011 version = "0.0.17";
12+ format = "setuptools";
13+
14+ disabled = pythonOlder "3.7";
1115
1216 src = fetchPypi {
1317 inherit pname version;
14− sha256 = "sha256-fd7gHDah5yoqpH5d3bwEDsIfeflXzXevJLMD7lvz180=";
18+ hash = "sha256-fd7gHDah5yoqpH5d3bwEDsIfeflXzXevJLMD7lvz180=";
1519 };
1620
17− propagatedBuildInputs = [ aiohttp python-dateutil ];
21+ propagatedBuildInputs = [
22+ aiohttp
23+ python-dateutil
24+ ];
1825
19− # Project has no tests
26+ # Module has no tests
2027 doCheck = false;
21− pythonImportsCheck = [ "pyplaato" ];
28+
29+ pythonImportsCheck = [
30+ "pyplaato"
31+ ];
2232
2333 meta = with lib; {
2434 description = "Python API client for fetching Plaato data";