diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-07 12:32:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 12:32:11 +0100 |
commit | 87b94d131bfaf513187d9b1a85c0cc9a28a162b9 (patch) | |
tree | e10ae8a2dc0c699c80ca6cb6ee07c3ab3b35213d /pkgs/development | |
parent | 68517cc894784a341dec5cc1034467ca124dc604 (diff) | |
parent | 3ac584ced04c3580cd3a7c3cbdb175eaba4bf22d (diff) |
Merge pull request #272101 from seanybaggins/add-mingw32-support-x264
x264: Add mingw32 hostPlatform support
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/x264/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/libraries/x264/default.nix b/pkgs/development/libraries/x264/default.nix index e5ca1fc58edc6..90fe559c3cf41 100644 --- a/pkgs/development/libraries/x264/default.nix +++ b/pkgs/development/libraries/x264/default.nix @@ -1,6 +1,10 @@ -{ stdenv, lib, fetchFromGitLab, fetchpatch, nasm +{ stdenv +, lib +, fetchFromGitLab +, fetchpatch +, nasm , enableShared ? !stdenv.hostPlatform.isStatic - }: +}: stdenv.mkDerivation rec { pname = "x264"; @@ -49,9 +53,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Library for encoding H264/AVC video streams"; - homepage = "http://www.videolan.org/developers/x264.html"; - license = licenses.gpl2Plus; - platforms = platforms.unix; + homepage = "http://www.videolan.org/developers/x264.html"; + license = licenses.gpl2Plus; + platforms = platforms.unix ++ platforms.windows; maintainers = with maintainers; [ tadeokondrak ]; }; } |