yasm: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-08-15 16:30:23 +02:00
parent 513701efce
commit 0e274ced1b

View File

@ -1,10 +1,11 @@
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "yasm-1.3.0";
pname = "yasm";
version = "1.3.0";
src = fetchurl {
url = "https://www.tortall.net/projects/yasm/releases/${name}.tar.gz";
url = "https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz";
sha256 = "0gv0slmm0qpq91za3v2v9glff3il594x5xsrbgab7xcmnh0ndkix";
};