tayga: use finalAttrs style

This commit is contained in:
Jared Baur
2024-12-29 11:48:10 -07:00
parent adf29eeeb6
commit cc27227303
+3 -3
View File
@@ -5,12 +5,12 @@
nixosTests,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
version = "0.9.2";
pname = "tayga";
src = fetchurl {
url = "http://www.litech.org/${pname}/${pname}-${version}.tar.bz2";
url = "http://www.litech.org/tayga/tayga-${finalAttrs.version}.tar.bz2";
hash = "sha256-Kx95J6nS3P+Qla/zwnGSSwUsz9L6ypWIsndDGkTwAJw=";
};
@@ -36,4 +36,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
mainProgram = "tayga";
};
}
})