From 680ee0a45ae747a0a1f85b7d886e3eb8055c44f4 Mon Sep 17 00:00:00 2001 From: Kier Davis Date: Tue, 16 Jul 2019 13:51:26 +0100 Subject: [PATCH] pius: switch to Python 3 pius 3.0.0 requires Python 3. --- pkgs/tools/security/pius/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix index f82f705fc8e..fed63390d28 100644 --- a/pkgs/tools/security/pius/default.nix +++ b/pkgs/tools/security/pius/default.nix @@ -1,7 +1,7 @@ -{ fetchFromGitHub, stdenv, pythonPackages, gnupg, perl }: +{ fetchFromGitHub, stdenv, python3Packages, gnupg, perl }: let version = "3.0.0"; in -pythonPackages.buildPythonApplication { +python3Packages.buildPythonApplication { name = "pius-${version}"; namePrefix = ""; @@ -19,7 +19,7 @@ pythonPackages.buildPythonApplication { ''; nativeBuildInputs = [ perl ]; - propagatedBuildInputs = with pythonPackages; [ six ]; + propagatedBuildInputs = with python3Packages; [ six ]; meta = { homepage = https://www.phildev.net/pius/;