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/archivers/atool | |
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/archivers/atool')
-rw-r--r-- | pkgs/tools/archivers/atool/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/archivers/atool/default.nix b/pkgs/tools/archivers/atool/default.nix index 419a7d04ee3..8303a1b4277 100644 --- a/pkgs/tools/archivers/atool/default.nix +++ b/pkgs/tools/archivers/atool/default.nix @@ -1,9 +1,11 @@ {lib, stdenv, fetchurl, perl, bash}: -stdenv.mkDerivation { - name = "atool-0.39.0"; +stdenv.mkDerivation rec { + pname = "atool"; + version = "0.39.0"; + src = fetchurl { - url = "mirror://savannah/atool/atool-0.39.0.tar.gz"; + url = "mirror://savannah/atool/atool-${version}.tar.gz"; sha256 = "aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b"; }; |