forked from mirrors/nixpkgs
4acb425c39
cjdns: https://hydra.nixos.org/build/61134279 jonprl: https://hydra.nixos.org/build/61123711 mate.libmatemixer: https://hydra.nixos.org/build/61126968 dirac: https://hydra.nixos.org/build/61132432 idnkit: https://hydra.nixos.org/build/61123544 trousers: https://hydra.nixos.org/build/61109766 packetdrill: https://hydra.nixos.org/build/61116190 osm2pgsql: https://hydra.nixos.org/build/61118017 nawk: https://hydra.nixos.org/build/61139000
32 lines
860 B
Nix
32 lines
860 B
Nix
{ stdenv, fetchurl, doxygen }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.2";
|
|
name = "dirac-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dirac/${name}.tar.gz";
|
|
sha256 = "1z803yzp17cj69wn11iyb13swqdd9xdzr58dsk6ghpr3ipqicsw1";
|
|
};
|
|
|
|
buildInputs = [ doxygen ];
|
|
enableParallelBuilding = true;
|
|
|
|
patches = [ ./dirac-1.0.2.patch ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
postInstall = ''
|
|
# keep only necessary binaries
|
|
find $out/bin \( -name '*RGB*' -or -name '*YUV*' -or -name create_dirac_testfile.pl \) -delete
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://sourceforge.net/projects/dirac;
|
|
description = "A general-purpose video codec based on wavelets";
|
|
platforms = platforms.linux;
|
|
license = with licenses; [ mpl11 gpl2 lgpl21 ];
|
|
maintainer = maintainers.igsha;
|
|
};
|
|
}
|