From 46cb55ced8f75d6ae222a7c4608cd54846740327 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Fri, 20 Jan 2017 23:36:43 +0800 Subject: [PATCH] facter: 3.4.1 -> 3.5.1 --- pkgs/tools/system/facter/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/tools/system/facter/default.nix index 83936ca65a5e..677981b97ca5 100644 --- a/pkgs/tools/system/facter/default.nix +++ b/pkgs/tools/system/facter/default.nix @@ -1,11 +1,13 @@ -{ stdenv, fetchurl, boost, cmake, cpp-hocon, curl, leatherman, libyamlcpp, openssl, ruby, utillinux }: +{ stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libyamlcpp, openssl, ruby, utillinux }: stdenv.mkDerivation rec { name = "facter-${version}"; - version = "3.4.1"; - src = fetchurl { - url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz"; - sha256 = "1vvvqni68l3hmnxi8jp0n2rwzxyh1vmgv6xa2954h94dfax6dmcj"; + version = "3.5.1"; + src = fetchFromGitHub { + sha256 = "1rhfww0knjh6bj3b0ykxgfgw6rg2bzibkdrisq3nhl3djfq7r1a8"; + rev = version; + repo = "facter"; + owner = "puppetlabs"; }; cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];