diff options
author | Karolis Stasaitis <contact@carlossless.io> | 2023-11-12 00:07:49 +0100 |
---|---|---|
committer | Karolis Stasaitis <contact@carlossless.io> | 2023-11-18 21:32:04 +0100 |
commit | fc1e1f36dc1ba218ac7adac23e22885efbb1e697 (patch) | |
tree | 36840a3b24a8d65b1297dfe868d0e7d355048844 /pkgs/development/tools | |
parent | 0dee000328dbae0dd0b4c2343eb28a63e3565d70 (diff) |
astyle: 3.1 -> 3.4.10
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/misc/astyle/default.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/tools/misc/astyle/default.nix b/pkgs/development/tools/misc/astyle/default.nix index b08876c09cb64..315a213609514 100644 --- a/pkgs/development/tools/misc/astyle/default.nix +++ b/pkgs/development/tools/misc/astyle/default.nix @@ -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; { |