atomicparsley: 0.9.6 -> 20200701.154658.b0d6223

gstqt5
AndersonTorres 2020-10-23 21:24:08 -03:00
parent a948654086
commit 6bc2bf412c
1 changed files with 18 additions and 26 deletions

View File

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