summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer/ugly/default.nix
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2020-10-02 00:31:58 +0200
committerNiklas Hambüchen <mail@nh2.me>2020-10-24 02:02:09 +0200
commit0672de5b894a15e97da9cf82bf3052bde7919691 (patch)
tree46bd095abf4f0f693fecadff3ab257e2292e3aff /pkgs/development/libraries/gstreamer/ugly/default.nix
parente186f0e161407a9a781d235b21991ca82004fee0 (diff)
downloadnixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar.gz
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar.bz2
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar.lz
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar.xz
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.tar.zst
nixpkgs-0672de5b894a15e97da9cf82bf3052bde7919691.zip
gstreamer: 1.16.2 -> 1.18.0
Fixes #98769.

Important changes from https://gstreamer.freedesktop.org/releases/1.18/:

* `gst-validate` was renamed to `gst-devtools` upstream:

    > * the `gst-validate` tarball has been superseded by
    >   the `gst-devtools` tarball for consistency with the git module name.

* `gst-python` is now Python 3 only:

    > * Python 2.x is no longer supported
Diffstat (limited to 'pkgs/development/libraries/gstreamer/ugly/default.nix')
-rw-r--r--pkgs/development/libraries/gstreamer/ugly/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix
index d8c36fa4070..ae1e2dd1b31 100644
--- a/pkgs/development/libraries/gstreamer/ugly/default.nix
+++ b/pkgs/development/libraries/gstreamer/ugly/default.nix
@@ -21,13 +21,13 @@
 
 stdenv.mkDerivation rec {
   pname = "gst-plugins-ugly";
-  version = "1.16.2";
+  version = "1.18.0";
 
   outputs = [ "out" "dev" ];
 
   src = fetchurl {
     url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
-    sha256 = "1jpvc32x6q01zjkfgh6gmq6aaikiyfwwnhj7bmvn52syhrdl202m";
+    sha256 = "10p0nyzighvkciaspxnhlr7d7n4acrv96lf483i8l988bvj48rk8";
   };
 
   nativeBuildInputs = [
@@ -56,10 +56,15 @@ stdenv.mkDerivation rec {
   ]);
 
   mesonFlags = [
-    "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
+    "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
     "-Dsidplay=disabled" # sidplay / sidplay/player.h isn't packaged in nixpkgs as of writing
   ];
 
+  postPatch = ''
+    patchShebangs \
+      scripts/extract-release-date-from-doap-file.py
+  '';
+
   meta = with lib; {
     description = "Gstreamer Ugly Plugins";
     homepage = "https://gstreamer.freedesktop.org";