1 { dos2unix, fetchurl, lib, stdenv }:
3 stdenv.mkDerivation rec {
7 hardeningDisable = [ "format" ];
8 nativeBuildInputs = [ dos2unix ];
11 url = "mirror://sourceforge/matroska/${pname}-${version}.tar.bz2";
12 sha256 = "0zbpi4sm68zb20d53kbss93fv4aafhcmz7dsd0zdf01vj1r3wxwn";
16 dos2unix ./mkclean/configure.compiled
17 ./mkclean/configure.compiled
25 mkdir -p $out/{bin,lib}
26 mv release/gcc_linux_*/*.* $out/lib
27 mv release/gcc_linux_*/* $out/bin
31 description = "Command line tool to clean and optimize Matroska (.mkv / .mka / .mks / .mk3d) and WebM (.webm / .weba) files that have already been muxed";
32 homepage = "https://www.matroska.org";
33 license = licenses.bsdOriginal;
34 maintainers = with maintainers; [ cawilliamson ];
35 platforms = [ "i686-linux" "x86_64-linux" ];