multipath-tools: download URL points to tag for easier package updates

This commit is contained in:
László Vaskó 2019-05-21 09:01:48 +02:00
parent 3c66a05a7b
commit c3b6b00bcf

View file

@ -1,11 +1,12 @@
{ stdenv, fetchurl, lvm2, libaio, gzip, readline, systemd, liburcu }:
stdenv.mkDerivation rec {
name = "multipath-tools-0.6.2";
name = "multipath-tools-${version}";
version = "0.6.2";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=e165b73a16fc9027aa3306df40052038c175be1b;sf=tgz";
url = "https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=${version};sf=tgz";
sha256 = "159hxvbk9kh1qay9x04w0gsqzg0hkl5yghfc1wi9kv2n5pcwbkpm";
};