nixpkgs/pkgs/tools/video/atomicparsley/default.nix

33 lines
850 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, zlib, Cocoa }:
2015-03-13 22:06:37 +00:00
stdenv.mkDerivation rec {
pname = "atomicparsley";
version = "20200701.154658.b0d6223";
2015-03-13 22:06:37 +00:00
src = fetchFromGitHub {
owner = "wez";
repo = pname;
rev = version;
sha256 = "sha256-EHO4WkxoAXUhuJKMNYmBbGfOgtO9uklzXtWS4QsV1c8=";
2015-03-13 22:06:37 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
2017-03-21 22:35:54 +00:00
installPhase = ''
runHook preInstall
install -D AtomicParsley $out/bin/AtomicParsley
runHook postInstall
'';
2015-03-13 22:06:37 +00:00
meta = with stdenv.lib; {
description = "A CLI program for reading, parsing and setting metadata into MPEG-4 files";
homepage = "https://github.com/wez/atomicparsley";
license = licenses.gpl2Plus;
2015-03-13 22:06:37 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ pjones ];
};
}