3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/video/atomicparsley/default.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

2019-06-19 18:30:07 +01:00
{ stdenv, fetchhg, autoreconfHook, zlib, Cocoa }:
2015-03-13 22:06:37 +00:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "atomicparsley";
2017-04-14 20:10:28 +01:00
version = "0.9.6";
2015-03-13 22:06:37 +00:00
2017-04-14 20:10:28 +01:00
src = fetchhg {
url = "https://bitbucket.org/wez/atomicparsley";
sha256 = "05n4kbn91ps52h3wi1qb2jwygjsc01qzx4lgkv5mvwl5i49rj8fm";
2015-03-13 22:06:37 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib ]
2019-06-19 18:30:07 +01:00
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
2017-03-21 22:35:54 +00:00
2019-05-01 23:15:30 +01:00
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# AC_FUNC_MALLOC is broken on cross builds.
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
2015-03-13 22:06:37 +00:00
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
meta = with stdenv.lib; {
description = ''
A lightweight command line program for reading, parsing and
setting metadata into MPEG-4 files
'';
2017-04-14 20:10:28 +01:00
longDescription = ''
This is a maintained fork of the original AtomicParsley.
'';
homepage = https://bitbucket.org/wez/atomicparsley;
2015-03-13 22:06:37 +00:00
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ pjones ];
};
}