Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 which, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "l-smash"; 10 version = "2.14.5"; 11 12 src = fetchFromGitHub { 13 owner = "l-smash"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02"; 17 }; 18 19 nativeBuildInputs = [ which ]; 20 21 configureFlags = [ 22 "--cc=cc" 23 "--cross-prefix=${stdenv.cc.targetPrefix}" 24 ]; 25 26 meta = with lib; { 27 homepage = "http://l-smash.github.io/l-smash/"; 28 description = "MP4 container utilities"; 29 license = licenses.isc; 30 maintainers = [ ]; 31 platforms = platforms.all; 32 }; 33}