vcsh: use finalAttrs

eiraniko 2d808017 4e087364

+4 -4
+4 -4
pkgs/by-name/vc/vcsh/package.nix
··· 8 perlPackages, 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "vcsh"; 13 version = "2.0.8"; 14 15 src = fetchurl { 16 - url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz"; 17 sha256 = "sha256-VgRA3v5PIKwizmXoc8f/YMoMCDGFJK/m2uhq3EsT1xQ="; 18 }; 19 ··· 41 meta = { 42 description = "Version Control System for $HOME"; 43 homepage = "https://github.com/RichiH/vcsh"; 44 - changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog"; 45 license = lib.licenses.gpl2Plus; 46 maintainers = with lib.maintainers; [ 47 ttuegel ··· 50 platforms = lib.platforms.unix; 51 mainProgram = "vcsh"; 52 }; 53 - }
··· 8 perlPackages, 9 }: 10 11 + stdenv.mkDerivation (finalAttrs: { 12 pname = "vcsh"; 13 version = "2.0.8"; 14 15 src = fetchurl { 16 + url = "https://github.com/RichiH/vcsh/releases/download/v${finalAttrs.version}/vcsh-${finalAttrs.version}.tar.xz"; 17 sha256 = "sha256-VgRA3v5PIKwizmXoc8f/YMoMCDGFJK/m2uhq3EsT1xQ="; 18 }; 19 ··· 41 meta = { 42 description = "Version Control System for $HOME"; 43 homepage = "https://github.com/RichiH/vcsh"; 44 + changelog = "https://github.com/RichiH/vcsh/blob/v${finalAttrs.version}/changelog"; 45 license = lib.licenses.gpl2Plus; 46 maintainers = with lib.maintainers; [ 47 ttuegel ··· 50 platforms = lib.platforms.unix; 51 mainProgram = "vcsh"; 52 }; 53 + })