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/mtx | |
parent | 6dfd25fdc4fbbde2b13d3140287cee04f5e9e483 (diff) | |
download | nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar.gz nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar.bz2 nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar.lz nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar.xz nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.tar.zst nixpkgs-7cd5d178fc6fd403907bfe00f502337c162d7607.zip |
tools: replace name with pname&version
Diffstat (limited to 'pkgs/tools/backup/mtx')
-rw-r--r-- | pkgs/tools/backup/mtx/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/backup/mtx/default.nix b/pkgs/tools/backup/mtx/default.nix index aa72b02afbb..b8476954949 100644 --- a/pkgs/tools/backup/mtx/default.nix +++ b/pkgs/tools/backup/mtx/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "mtx-1.3.12"; + pname = "mtx"; + version = "1.3.12"; src = fetchurl { - url = "mirror://gentoo/distfiles/${name}.tar.gz"; + url = "mirror://gentoo/distfiles/mtx-${version}.tar.gz"; sha256 = "0261c5e90b98b6138cd23dadecbc7bc6e2830235145ed2740290e1f35672d843"; }; |