btar: clean up

This commit is contained in:
Alyssa Ross 2021-07-24 22:22:42 +00:00
parent 0271807d6f
commit 7368fa12c4
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,9 +1,11 @@
{ lib, stdenv, fetchurl, fetchpatch, librsync }: { lib, stdenv, fetchurl, fetchpatch, librsync }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "btar-1.1.1"; pname = "btar";
version = "1.1.1";
src = fetchurl { 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"; sha256 = "0miklk4bqblpyzh1bni4x6lqn88fa8fjn15x1k1n8bxkx60nlymd";
}; };
@ -16,13 +18,13 @@ stdenv.mkDerivation rec {
buildInputs = [ librsync ]; buildInputs = [ librsync ];
installPhase = "make install PREFIX=$out"; makeFlags = [ "PREFIX=$(out)" ];
meta = { meta = with lib; {
description = "Tar-compatible block-based archiver"; description = "Tar-compatible block-based archiver";
license = lib.licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
homepage = "http://viric.name/cgi-bin/btar"; homepage = "https://viric.name/cgi-bin/btar";
platforms = with lib.platforms; all; platforms = platforms.all;
maintainers = with lib.maintainers; [viric]; maintainers = with maintainers; [ viric ];
}; };
} }