summary refs log tree commit diff
path: root/pkgs/development/libraries/openh264
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-12-14 14:34:19 -0800
committerRenaud <c0bw3b@users.noreply.github.com>2019-12-14 23:34:19 +0100
commit5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4 (patch)
tree4ba5a02f203e3c34413a516b616ad7e0f243b5c2 /pkgs/development/libraries/openh264
parentaa3cb8b00e3068362d77b38fb1e062da50d22b6a (diff)
downloadnixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar.gz
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar.bz2
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar.lz
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar.xz
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.tar.zst
nixpkgs-5aae6ee17fe0a7c698441c8bab6daf50b8dc0af4.zip
openh264: 1.8.0 -> 2.0.0 (#64100)
* openh264: 1.8.0 -> 2.0.0

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/openh264/versions
Diffstat (limited to 'pkgs/development/libraries/openh264')
-rw-r--r--pkgs/development/libraries/openh264/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/libraries/openh264/default.nix b/pkgs/development/libraries/openh264/default.nix
index cd91a132597..fe46d25421a 100644
--- a/pkgs/development/libraries/openh264/default.nix
+++ b/pkgs/development/libraries/openh264/default.nix
@@ -2,25 +2,23 @@
 
 stdenv.mkDerivation rec {
   pname = "openh264";
-  version = "1.8.0";
+  version = "2.0.0";
 
   src = fetchFromGitHub {
     owner = "cisco";
-    repo = "openh264";
+    repo = pname;
     rev = "v${version}";
-    sha256 = "1pl7hpk25nh7lcx1lbbv984gvnim0d6hxf4qfmrjjfjf6w37sjw4";
+    sha256 = "0sa4n4xshmiiv6h767jjq9qxapxxjwwwm3bpcignkxv5xn5sls5r";
   };
 
-  buildInputs = [ nasm ];
+  nativeBuildInputs = [ nasm ];
 
-  installPhase = ''
-    make PREFIX=$out install
-  '';
+  makeFlags = [ "PREFIX=${placeholder "out"}" ];
 
   meta = with stdenv.lib; {
     description = "A codec library which supports H.264 encoding and decoding";
-    homepage = http://www.openh264.org;
-    license = stdenv.lib.licenses.bsd2;
+    homepage = "https://www.openh264.org";
+    license = licenses.bsd2;
     platforms = platforms.unix;
   };
 }