From dcc3512bfeb363efe121f7e60c468e7ea5e9442e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 11 Aug 2021 17:27:50 +0200 Subject: [PATCH] dyncall: subsitute version --- pkgs/development/libraries/dyncall/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/dyncall/default.nix b/pkgs/development/libraries/dyncall/default.nix index 8a829aa3c91c..f92f2f0affe4 100644 --- a/pkgs/development/libraries/dyncall/default.nix +++ b/pkgs/development/libraries/dyncall/default.nix @@ -1,11 +1,11 @@ { lib, stdenv, fetchurl }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "dyncall"; version = "1.2"; src = fetchurl { - url = "https://www.dyncall.org/r1.2/dyncall-1.2.tar.gz"; + url = "https://www.dyncall.org/r${version}/dyncall-${version}.tar.gz"; # https://www.dyncall.org/r1.2/SHA256 sha256 = "sha256-6IFUwCQ0IVYHBPXHKUr73snpka+gYB1a3/UELqgYCNc="; };