diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-07-24 22:22:42 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-07-24 22:22:42 +0000 |
commit | 7368fa12c4c6b05027b367293b92b6a8f310d08e (patch) | |
tree | d346850e0e533231dcaab044f89bbbe5f885abf5 /pkgs | |
parent | 0271807d6fb34509e78ed66a8c972dd851b996cd (diff) |
btar: clean up
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/backup/btar/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/backup/btar/default.nix b/pkgs/tools/backup/btar/default.nix index 841e9ebf6d35e..c77aa5b82b62a 100644 --- a/pkgs/tools/backup/btar/default.nix +++ b/pkgs/tools/backup/btar/default.nix @@ -1,9 +1,11 @@ { lib, stdenv, fetchurl, fetchpatch, librsync }: stdenv.mkDerivation rec { - name = "btar-1.1.1"; + pname = "btar"; + version = "1.1.1"; + src = fetchurl { - url = "http://vicerveza.homeunix.net/~viric/soft/btar/${name}.tar.gz"; + url = "https://vicerveza.homeunix.net/~viric/soft/btar/btar-${version}.tar.gz"; sha256 = "0miklk4bqblpyzh1bni4x6lqn88fa8fjn15x1k1n8bxkx60nlymd"; }; @@ -16,13 +18,13 @@ stdenv.mkDerivation rec { buildInputs = [ librsync ]; - installPhase = "make install PREFIX=$out"; + makeFlags = [ "PREFIX=$(out)" ]; - meta = { + meta = with lib; { description = "Tar-compatible block-based archiver"; license = lib.licenses.gpl3Plus; - homepage = "http://viric.name/cgi-bin/btar"; - platforms = with lib.platforms; all; - maintainers = with lib.maintainers; [viric]; + homepage = "https://viric.name/cgi-bin/btar"; + platforms = platforms.all; + maintainers = with maintainers; [ viric ]; }; } |