Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
719 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
which,
}:
stdenv.mkDerivation rec {
pname = "l-smash";
version = "2.14.5";
src = fetchFromGitHub {
owner = "l-smash";
repo = "l-smash";
rev = "v${version}";
sha256 = "0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02";
};
nativeBuildInputs = [ which ];
configureFlags = [
"--cc=cc"
"--cross-prefix=${stdenv.cc.targetPrefix}"
];
meta = {
homepage = "http://l-smash.github.io/l-smash/";
description = "MP4 container utilities";
license = lib.licenses.isc;
maintainers = [ ];
platforms = lib.platforms.all;
# The last successful Darwin Hydra build was in 2023
broken = stdenv.hostPlatform.isDarwin;
};
}