guitarix: use finalAttrs

This commit is contained in:
Lord-Valen 2024-03-29 17:58:25 -04:00
parent bf764cb7c7
commit c949c1cacd
No known key found for this signature in database
GPG Key ID: 5DEE1DF49CC27E39

View File

@ -42,12 +42,12 @@ let
inherit (lib) optional;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "guitarix";
version = "0.44.1";
src = fetchurl {
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
url = "mirror://sourceforge/guitarix/guitarix2-${finalAttrs.version}.tar.xz";
sha256 = "d+g9dU9RrDjFQj847rVd5bPiYSjmC1EbAtLe/PNubBg=";
};
@ -145,4 +145,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ astsmtl goibhniu ];
platforms = platforms.linux;
};
}
})