depot/third_party/nixpkgs/pkgs/tools/video/atomicparsley/default.nix
Default email fcc03dbfc5 Project import generated by Copybara.
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
2021-02-13 15:23:35 +01:00

32 lines
841 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, zlib, Cocoa }:
stdenv.mkDerivation rec {
pname = "atomicparsley";
version = "20210124.204813.840499f";
src = fetchFromGitHub {
owner = "wez";
repo = pname;
rev = version;
sha256 = "sha256-/bkfgIWlQobaiad2WD7DUUrTwfYurP7YAINaLTwBEcE=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ]
++ lib.optionals stdenv.isDarwin [ Cocoa ];
installPhase = ''
runHook preInstall
install -D AtomicParsley $out/bin/AtomicParsley
runHook postInstall
'';
meta = with lib; {
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 ];
};
}