summary refs log tree commit diff
path: root/pkgs/development/python-modules/limnoria
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-01-03 08:56:25 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-03 11:45:35 +0100
commit1aa42552ff055fafbf54c436dd00735fdb6f45bd (patch)
treed6d4823c9d160ab28e7a7464b7f3e8669a6e9bf6 /pkgs/development/python-modules/limnoria
parent22d6f654c4df6c22a3ac54e2c3a798dcbda1f1f7 (diff)
downloadnixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar.gz
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar.bz2
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar.lz
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar.xz
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.tar.zst
nixpkgs-1aa42552ff055fafbf54c436dd00735fdb6f45bd.zip
python3Packages.limnoria: disable on older Python releases
Diffstat (limited to 'pkgs/development/python-modules/limnoria')
-rw-r--r--pkgs/development/python-modules/limnoria/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/limnoria/default.nix b/pkgs/development/python-modules/limnoria/default.nix
index 676c69f9a56..fad21d30ee5 100644
--- a/pkgs/development/python-modules/limnoria/default.nix
+++ b/pkgs/development/python-modules/limnoria/default.nix
@@ -1,14 +1,15 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, isPy27
+, pythonOlder
 , git
 }:
 
 buildPythonPackage rec {
   pname = "limnoria";
   version = "2022.1.1";
-  disabled = isPy27; # abandoned upstream
+
+  disabled = pythonOlder "3.6";
 
   src = fetchPypi {
     inherit pname version;
@@ -18,6 +19,7 @@ buildPythonPackage rec {
   postPatch = ''
     sed -i 's/version=version/version="${version}"/' setup.py
   '';
+ 
   buildInputs = [ git ];
 
   # cannot be imported
@@ -29,5 +31,4 @@ buildPythonPackage rec {
     license = licenses.bsd3;
     maintainers = with maintainers; [ goibhniu ];
   };
-
 }