Loading pkgs/development/tools/misc/astyle/default.nix +3 −9 Original line number Diff line number Diff line Loading @@ -2,19 +2,13 @@ stdenv.mkDerivation rec { pname = "astyle"; version = "3.1"; version = "3.4.10"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}_${version}_linux.tar.gz"; sha256 = "1ms54wcs7hg1bsywqwf2lhdfizgbk7qxc9ghasxk8i99jvwlrk6b"; url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; hash = "sha256-b2fshytDe9PFHg914RLk2/2ybV+3vZz4pIDxCvVVcGM="; }; # lots of hardcoded references to /usr postPatch = '' substituteInPlace CMakeLists.txt \ --replace ' /usr/' " $out/" ''; nativeBuildInputs = [ cmake ]; meta = with lib; { Loading Loading
pkgs/development/tools/misc/astyle/default.nix +3 −9 Original line number Diff line number Diff line Loading @@ -2,19 +2,13 @@ stdenv.mkDerivation rec { pname = "astyle"; version = "3.1"; version = "3.4.10"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}_${version}_linux.tar.gz"; sha256 = "1ms54wcs7hg1bsywqwf2lhdfizgbk7qxc9ghasxk8i99jvwlrk6b"; url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; hash = "sha256-b2fshytDe9PFHg914RLk2/2ybV+3vZz4pIDxCvVVcGM="; }; # lots of hardcoded references to /usr postPatch = '' substituteInPlace CMakeLists.txt \ --replace ' /usr/' " $out/" ''; nativeBuildInputs = [ cmake ]; meta = with lib; { Loading