2015-03-13 23:06:37 +01:00
|
|
|
{ stdenv, pkgs, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-14 17:18:17 +02:00
|
|
|
name = "${product}-${version}";
|
|
|
|
product = "AtomicParsley";
|
2015-03-13 23:06:37 +01:00
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-14 17:18:17 +02:00
|
|
|
url = "mirror://sourceforge/atomicparsley/${product}-source-${version}.zip";
|
2015-03-13 23:06:37 +01:00
|
|
|
sha256 = "de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pkgs; [ unzip ];
|
|
|
|
patches = [ ./casts.patch ];
|
2015-05-16 14:00:19 +02:00
|
|
|
setSourceRoot = "sourceRoot=${product}-source-${version}";
|
2015-03-13 23:06:37 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|