diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/snazy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/snazy/default.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/nixpkgs/pkgs/development/tools/snazy/default.nix b/nixpkgs/pkgs/development/tools/snazy/default.nix index d7c5f4d7ceee..c3d104e87383 100644 --- a/nixpkgs/pkgs/development/tools/snazy/default.nix +++ b/nixpkgs/pkgs/development/tools/snazy/default.nix @@ -1,32 +1,21 @@ { lib , rustPlatform , fetchFromGitHub -, fetchpatch , installShellFiles }: rustPlatform.buildRustPackage rec { pname = "snazy"; - version = "0.51.2"; + version = "0.52.0"; src = fetchFromGitHub { owner = "chmouel"; repo = pname; rev = version; - hash = "sha256-k8dcALE5+5kqNKhmiLT0Ir8SRYOIp8eV3a/xYWrKpNw="; + hash = "sha256-ax16BO2I+LgaVilqrsVToulBRcyr0C/QUtrdn0nUfBU="; }; - cargoHash = "sha256-mBA2BhGeYR57UrqI1qtByTkTocMymjCWlWhh4+Ko8wY="; - - cargoPatches = [ - # update Cargo.toml to fix the version - # https://github.com/chmouel/snazy/pull/178 - (fetchpatch { - name = "update-version-in-cargo-toml.patch"; - url = "https://github.com/chmouel/snazy/commit/4fd92c7336f51d032a0baf60fd5ab8c1056ad14f.patch"; - hash = "sha256-WT/HHB9HB+X/L5FZdvQAG8K7PrYHQD8F5aWQVaMJuIU="; - }) - ]; + cargoHash = "sha256-go6y/NH3vFb8xtAGVpgy0GQfMfzXfn8hI+tJnUdCFAU="; nativeBuildInputs = [ installShellFiles ]; |