Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

yasm: replace name with pname&version

+3 -2
+3 -2
pkgs/development/compilers/yasm/default.nix
··· 1 1 {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "yasm-1.3.0"; 4 + pname = "yasm"; 5 + version = "1.3.0"; 5 6 6 7 src = fetchurl { 7 - url = "https://www.tortall.net/projects/yasm/releases/${name}.tar.gz"; 8 + url = "https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz"; 8 9 sha256 = "0gv0slmm0qpq91za3v2v9glff3il594x5xsrbgab7xcmnh0ndkix"; 9 10 }; 10 11