From cc9466a62761361300f0b4a81d86fe2c5c57bc1f Mon Sep 17 00:00:00 2001 From: romildo Date: Fri, 18 Nov 2016 20:45:35 -0200 Subject: [PATCH] uncrustify: 0.63 -> 0.64 --- pkgs/development/tools/misc/uncrustify/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/misc/uncrustify/default.nix b/pkgs/development/tools/misc/uncrustify/default.nix index a4c61a58b899..57c57969a88b 100644 --- a/pkgs/development/tools/misc/uncrustify/default.nix +++ b/pkgs/development/tools/misc/uncrustify/default.nix @@ -1,15 +1,19 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { name = "${product}-${version}"; product = "uncrustify"; - version = "0.63"; + version = "0.64"; - src = fetchurl { - url = "mirror://sourceforge/uncrustify/${product}-${version}.tar.gz"; - sha256 = "1qravjzmips3m7asbsd0qllmprrl1rshjlmnfq68w84d38sb3yyz"; + src = fetchFromGitHub { + owner = product; + repo = product; + rev = name; + sha256 = "0gvgv44aqrh7cmj4ji8dpbhp47cklvajlc3s9d9z24x96dhp2v97"; }; + nativeBuildInputs = [ cmake ]; + meta = with stdenv.lib; { description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA"; homepage = http://uncrustify.sourceforge.net/;