2018-11-05 18:12:46 +00:00
|
|
|
{ stdenv, fetchhg, autoreconfHook, zlib, cf-private, Cocoa }:
|
2015-03-13 22:06:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-11 04:42:32 +01:00
|
|
|
name = "atomicparsley-${version}";
|
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
|
|
|
};
|
|
|
|
|
2018-11-05 18:12:46 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ zlib ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
Cocoa
|
|
|
|
# Needed for OBJC_CLASS_$_NSDictionary symbols.
|
|
|
|
cf-private
|
|
|
|
];
|
2017-03-21 22:35:54 +00:00
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|