From beeb973b93b20e74efc37a36770a422d196270ac Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 5 Aug 2018 15:30:15 +0200 Subject: [PATCH] pythonPackages.robotframework: enable python3 build --- .../python-modules/robotframework/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/robotframework/default.nix b/pkgs/development/python-modules/robotframework/default.nix index f07d0208167c..6d19feed3fb7 100644 --- a/pkgs/development/python-modules/robotframework/default.nix +++ b/pkgs/development/python-modules/robotframework/default.nix @@ -1,13 +1,11 @@ -{ stdenv, fetchurl, buildPythonPackage, isPy3k }: +{ stdenv, fetchPypi, buildPythonPackage }: buildPythonPackage rec { - version = "3.0.4"; pname = "robotframework"; - disabled = isPy3k; - name = pname + "-" + version; + version = "3.0.4"; - src = fetchurl { - url = "mirror://pypi/r/robotframework/${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47"; };