diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-12 21:47:47 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-12 21:47:47 +0200 |
commit | 7cd5d178fc6fd403907bfe00f502337c162d7607 (patch) | |
tree | deab830841f24b5fa75a008deb9eeaa03e2a12ba /pkgs/tools/backup/mt-st | |
parent | 6dfd25fdc4fbbde2b13d3140287cee04f5e9e483 (diff) |
tools: replace name with pname&version
Diffstat (limited to 'pkgs/tools/backup/mt-st')
-rw-r--r-- | pkgs/tools/backup/mt-st/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/backup/mt-st/default.nix b/pkgs/tools/backup/mt-st/default.nix index 804c50830ce6e..8c62ad6512e04 100644 --- a/pkgs/tools/backup/mt-st/default.nix +++ b/pkgs/tools/backup/mt-st/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "mt-st-1.3"; + pname = "mt-st"; + version = "1.3"; src = fetchurl { - url = "https://github.com/iustin/mt-st/releases/download/${name}/${name}.tar.gz"; + url = "https://github.com/iustin/mt-st/releases/download/mt-st-${version}/mt-st-${version}.tar.gz"; sha256 = "b552775326a327cdcc076c431c5cbc4f4e235ac7c41aa931ad83f94cccb9f6de"; }; |