mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
btar: clean up
This commit is contained in:
parent
0271807d6f
commit
7368fa12c4
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user