atomicparsley: 0.9.6 -> 20200701.154658.b0d6223

This commit is contained in:
AndersonTorres 2020-10-23 21:24:08 -03:00
parent a948654086
commit 6bc2bf412c

View File

@ -1,39 +1,31 @@
{ stdenv, fetchhg, autoreconfHook, zlib, Cocoa }: { stdenv, fetchFromGitHub, cmake, zlib, Cocoa }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "atomicparsley"; pname = "atomicparsley";
version = "0.9.6"; version = "20200701.154658.b0d6223";
src = fetchhg { src = fetchFromGitHub {
url = "https://bitbucket.org/wez/atomicparsley"; owner = "wez";
sha256 = "05n4kbn91ps52h3wi1qb2jwygjsc01qzx4lgkv5mvwl5i49rj8fm"; repo = pname;
rev = version;
sha256 = "sha256-EHO4WkxoAXUhuJKMNYmBbGfOgtO9uklzXtWS4QsV1c8=";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ] buildInputs = [ zlib ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ]; ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ installPhase = ''
# AC_FUNC_MALLOC is broken on cross builds. runHook preInstall
"ac_cv_func_malloc_0_nonnull=yes" install -D AtomicParsley $out/bin/AtomicParsley
"ac_cv_func_realloc_0_nonnull=yes" runHook postInstall
]; '';
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = '' description = "A CLI program for reading, parsing and setting metadata into MPEG-4 files";
A lightweight command line program for reading, parsing and homepage = "https://github.com/wez/atomicparsley";
setting metadata into MPEG-4 files license = licenses.gpl2Plus;
'';
longDescription = ''
This is a maintained fork of the original AtomicParsley.
'';
homepage = "https://bitbucket.org/wez/atomicparsley";
license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ pjones ]; maintainers = with maintainers; [ pjones ];
}; };