vcsh: 2.0.8 -> 2.0.10 (#417075)

* vcsh: use finalAttrs

* vcsh: 2.0.8 -> 2.0.10

Diff: RichiH/vcsh@v2.0.8...v2.0.10

Changelog: https://github.com/RichiH/vcsh/blob/v2.0.10/changelog

---------

Co-authored-by: eiraniko <>

Changed files
+13 -7
pkgs
by-name
vc
+13 -7
pkgs/by-name/vc/vcsh/package.nix
···
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 ];
···
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
···
platforms = lib.platforms.unix;
mainProgram = "vcsh";
};
-
}
+
})