3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/video/atomicparsley/default.nix
2015-05-16 14:00:19 +02:00

31 lines
890 B
Nix

{ stdenv, pkgs, fetchurl }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "AtomicParsley";
version = "0.9.0";
src = fetchurl {
url = "mirror://sourceforge/atomicparsley/${product}-source-${version}.zip";
sha256 = "de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e";
};
buildInputs = with pkgs; [ unzip ];
patches = [ ./casts.patch ];
setSourceRoot = "sourceRoot=${product}-source-${version}";
buildPhase = "bash build";
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
meta = with stdenv.lib; {
description = ''
A lightweight command line program for reading, parsing and
setting metadata into MPEG-4 files
'';
homepage = http://atomicparsley.sourceforge.net/;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ pjones ];
};
}