1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

mkclean: init at 0.8.10

This commit is contained in:
Christopher A. Williamson 2019-05-12 21:43:28 +01:00 committed by Lassulus
parent 3c37e94789
commit e6aaadf610
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ dos2unix, fetchurl, stdenv }:
stdenv.mkDerivation rec {
pname = "mkclean";
version = "0.8.10";
hardeningDisable = [ "format" ];
nativeBuildInputs = [ dos2unix ];
src = fetchurl {
url = "mirror://sourceforge/matroska/${pname}-${version}.tar.bz2";
sha256 = "0zbpi4sm68zb20d53kbss93fv4aafhcmz7dsd0zdf01vj1r3wxwn";
};
configurePhase = ''
dos2unix ./mkclean/configure.compiled
./mkclean/configure.compiled
'';
buildPhase = ''
make -C mkclean
'';
installPhase = ''
mkdir -p $out/{bin,lib}
mv release/gcc_linux_*/*.* $out/lib
mv release/gcc_linux_*/* $out/bin
'';
meta = with stdenv.lib; {
description = "mkclean is a command line tool to clean and optimize Matroska (.mkv / .mka / .mks / .mk3d) and WebM (.webm / .weba) files that have already been muxed.";
homepage = "https://www.matroska.org";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ chrisaw ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}

View file

@ -4517,6 +4517,8 @@ in
withMinimal = false;
};
mkclean = callPackage ../applications/video/mkclean {};
mkcue = callPackage ../tools/cd-dvd/mkcue { };
mkp224o = callPackage ../tools/security/mkp224o { };