diff --git a/pkgs/by-name/vc/vcsh/package.nix b/pkgs/by-name/vc/vcsh/package.nix index 69bde561ce61..50d657e0235e 100644 --- a/pkgs/by-name/vc/vcsh/package.nix +++ b/pkgs/by-name/vc/vcsh/package.nix @@ -2,24 +2,30 @@ lib, stdenv, fetchurl, + autoconf, + automake, makeWrapper, pkg-config, + unzip, git, perlPackages, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "vcsh"; - version = "2.0.8"; + version = "2.0.10"; src = fetchurl { - url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-VgRA3v5PIKwizmXoc8f/YMoMCDGFJK/m2uhq3EsT1xQ="; + url = "https://github.com/RichiH/vcsh/releases/download/v${finalAttrs.version}/vcsh-${finalAttrs.version}.zip"; + hash = "sha256-M/UME2kNCxwzngKXMYp0cdps7LWVwoS2I/mTrvPts7g="; }; nativeBuildInputs = [ - pkg-config + autoconf + automake makeWrapper + pkg-config + unzip ]; buildInputs = [ git ]; @@ -41,7 +47,7 @@ stdenv.mkDerivation rec { meta = { description = "Version Control System for $HOME"; homepage = "https://github.com/RichiH/vcsh"; - changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog"; + changelog = "https://github.com/RichiH/vcsh/blob/v${finalAttrs.version}/changelog"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ttuegel @@ -50,4 +56,4 @@ stdenv.mkDerivation rec { platforms = lib.platforms.unix; mainProgram = "vcsh"; }; -} +})