about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorNiclas Thall <niclas.thall@zenuity.com>2020-09-27 13:50:39 +0200
committerNiclas Thall <niclas.thall@zenuity.com>2020-09-27 15:36:03 +0200
commit486174da1115f44ef48459db352e7e2216114a61 (patch)
tree9ad6afe4344c277840d3cf5df4338ae38048c579 /pkgs/development
parent74f3e9cce1770c19e35f3e4e2559a49dce22f8c6 (diff)
python3Packages.pybase64: Upgrade to python 3
Python 2 ist supported.

ZHF: #97479
https://hydra.nixos.org/build/127647482
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pybase64/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pybase64/default.nix b/pkgs/development/python-modules/pybase64/default.nix
index 6a141484bb4b5..d52a1f67d2148 100644
--- a/pkgs/development/python-modules/pybase64/default.nix
+++ b/pkgs/development/python-modules/pybase64/default.nix
@@ -1,9 +1,11 @@
-{ buildPythonPackage, stdenv, fetchPypi, six, pytest }:
+{ buildPythonPackage, isPy3k, stdenv, fetchPypi, six, pytest }:
 
 buildPythonPackage rec {
   pname = "pybase64";
   version = "1.0.1";
 
+  disabled = !isPy3k;
+
   src = fetchPypi {
     inherit pname version;
     sha256 = "6ced40531bffc81bafc790d5c0d2f752e281b3b00fd6ff4e79385c625e5dbab1";