Commit 7b71f112 authored by Quag's avatar Quag
Browse files

libnut: init at unstable-2020-11-06

parent ae1dc133
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
{ stdenv, lib, fetchgit }:
stdenv.mkDerivation rec {
  pname = "libnut";
  version = "unstable-2020-11-06";

  src = fetchgit {
    url = "https://git.ffmpeg.org/nut.git";
    rev = "12f6a7af3e0f34fd957cf078b66f072d3dc695b3";
    sha256 = "1wgl2mb9482c1j3yac0v2ilfjs7gb9mhw9kjnrmlj9kp0whm4l1j";
  };

  sourceRoot = "${src.name}/src/trunk";
  patches = [ ./prefix.patch ];
  dontConfigure = true;
  makeFlags = [ "prefix=$(out)" ];
  installTargets = "install-libnut";

  meta = with lib; {
    description = "A library to read/write the NUT video container format";
    homepage = "https://git.ffmpeg.org/gitweb/nut.git";
    license = licenses.mit;
    maintainers = with maintainers; [ quag ];
    platforms = platforms.linux;
  };
}
+10 −0
Original line number Diff line number Diff line
diff --git a/config.mak b/config.mak
index 7d88c34..65aa7b1 100644
--- a/config.mak
+++ b/config.mak
@@ -1,5 +1,3 @@
-PREFIX = /usr/local
-prefix = $(DESTDIR)$(PREFIX)
 
 #CFLAGS += -DDEBUG
 
+2 −0
Original line number Diff line number Diff line
@@ -20097,6 +20097,8 @@ with pkgs;
  libmkv = callPackage ../development/libraries/libmkv { };
  libnut = callPackage ../development/libraries/libnut { };
  libmms = callPackage ../development/libraries/libmms { };
  libmowgli = callPackage ../development/libraries/libmowgli { };