From b354f88327bc61a324c474a2cf1d64d8b3dd37ff Mon Sep 17 00:00:00 2001 From: Kier Davis Date: Fri, 24 Nov 2017 11:12:51 +0000 Subject: [PATCH] pius: move source from Sourceforge to Github Development of pius has moved to Github. --- pkgs/tools/security/pius/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix index 5e0c87c2f7d5..5d8e68c6cee0 100644 --- a/pkgs/tools/security/pius/default.nix +++ b/pkgs/tools/security/pius/default.nix @@ -1,13 +1,15 @@ -{ fetchurl, stdenv, python, gnupg }: +{ fetchFromGitHub, stdenv, python, gnupg }: let version = "2.0.11"; in stdenv.mkDerivation { name = "pius-${version}"; namePrefix = ""; - src = fetchurl { - url = "mirror://sourceforge/pgpius/pius/${version}/pius-${version}.tar.bz2"; - sha256 = "0pdbyqz6k0bm182cz81ss7yckmpms5qhrrw0wcr4a1srzcjyzf5f"; + src = fetchFromGitHub { + owner = "jaymzh"; + repo = "pius"; + rev = "v${version}"; + sha256 = "0msqhk0bhnq0f3crr0zf3dc9qb01ghib25fh3sz9dbprxclr5ps9"; }; buildInputs = [ python ];