2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, which }:
|
2019-05-18 06:47:07 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "l-smash";
|
|
|
|
version = "2.14.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "l-smash";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
|
2021-05-17 22:01:05 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--cc=cc"
|
|
|
|
"--cross-prefix=${stdenv.cc.targetPrefix}"
|
|
|
|
];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://l-smash.github.io/l-smash/";
|
2019-05-18 06:47:07 +02:00
|
|
|
description = "MP4 container utilities";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|