ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
32 lines
841 B
Nix
32 lines
841 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, zlib, Cocoa }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "atomicparsley";
|
|
version = "20210114.184825.1dbe1be";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wez";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-dyrfr3bsRzEWaAr9K+7SchFVl63cZawyIjmstOI9e5I=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|