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