mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
compsize: use upstream's installer
This commit is contained in:
parent
9d8e05e088
commit
96a4f3f97c
@ -13,18 +13,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ btrfs-progs ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
installFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/man/man8
|
||||
install -m 0755 compsize $out/bin
|
||||
install -m 0444 compsize.8 $out/share/man/man8
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "btrfs: Find compression type/ratio on a file or set of files";
|
||||
homepage = "https://github.com/kilobyte/compsize";
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "https://github.com/kilobyte/compsize";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ CrazedProgrammer ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user