about summary refs log tree commit diff
path: root/pkgs/by-name/nv
diff options
context:
space:
mode:
authorFlorian Klink2024-07-07 14:48:15 +0300
committerFlorian Klink2024-07-07 14:52:42 +0300
commit2cf621a871fba0d6444c29f4dd06086d4ce7fa45 (patch)
tree6f334aa10119e70c21e1f3bb28f3a77ff4c44f02 /pkgs/by-name/nv
parent79316737d60c607c023eb5a68526d9a560229fd4 (diff)
Revert "nv-codec-headers: recreate under by-name"
This reverts commit 01f7c8a1a317171a5a1b84086e955e0c28900523.

It broke NixOS config evaluation, as in
https://github.com/NixOS/nixpkgs/pull/324199#issuecomment-2212422318.
Diffstat (limited to 'pkgs/by-name/nv')
-rw-r--r--pkgs/by-name/nv/nv-codec-headers/package.nix38
-rw-r--r--pkgs/by-name/nv/nv-codec-headers/sources.nix42
2 files changed, 0 insertions, 80 deletions
diff --git a/pkgs/by-name/nv/nv-codec-headers/package.nix b/pkgs/by-name/nv/nv-codec-headers/package.nix
deleted file mode 100644
index cb0c222434ce..000000000000
--- a/pkgs/by-name/nv/nv-codec-headers/package.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{
-  lib,
-  callPackage,
-  stdenvNoCC,
-  # Configurable options
-  sources ? callPackage ./sources.nix { },
-  majorVersion ? "9",
-}:
-
-let
-  pick = {
-    "8" = sources.nv-codec-headers-8;
-    "9" = sources.nv-codec-headers-9;
-    "10" = sources.nv-codec-headers-10;
-    "11" = sources.nv-codec-headers-11;
-    "12" = sources.nv-codec-headers-12;
-  }.${majorVersion};
-in
-stdenvNoCC.mkDerivation {
-  inherit (pick) pname version src;
-
-  makeFlags = [
-    "PREFIX=$(out)"
-  ];
-
-  passthru = {
-    inherit sources;
-  };
-
-  meta = {
-    description = "FFmpeg version of headers for NVENC - version ${pick.version}";
-    homepage = "https://ffmpeg.org/";
-    downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git";
-    license = with lib.licenses; [ mit ];
-    maintainers = with lib.maintainers; [ AndersonTorres ];
-    platforms = lib.platforms.all;
-  };
-}
diff --git a/pkgs/by-name/nv/nv-codec-headers/sources.nix b/pkgs/by-name/nv/nv-codec-headers/sources.nix
deleted file mode 100644
index cc3d1bce5a61..000000000000
--- a/pkgs/by-name/nv/nv-codec-headers/sources.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{
-  fetchgit,
-}:
-
-let
-  nv-codec-headers-template =
-    {
-      version,
-      hash,
-    }:
-    {
-      pname = "nv-codec-headers";
-      inherit version;
-      src = fetchgit {
-        url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
-        rev = "n${version}";
-        inherit hash;
-      };
-    };
-in
-{
-  nv-codec-headers-8 = nv-codec-headers-template {
-    version = "8.2.15.2";
-    hash = "sha256-TKYT8vXqnUpq+M0grDeOR37n/ffqSWDYTrXIbl++BG4=";
-  };
-  nv-codec-headers-9 = nv-codec-headers-template {
-    version = "9.1.23.1";
-    hash = "sha256-kF5tv8Nh6I9x3hvSAdKLakeBVEcIiXFY6o6bD+tY2/U=";
-  };
-  nv-codec-headers-10 = nv-codec-headers-template {
-    version = "10.0.26.2";
-    hash = "sha256-BfW+fmPp8U22+HK0ZZY6fKUjqigWvOBi6DmW7SSnslg=";
-  };
-  nv-codec-headers-11 = nv-codec-headers-template {
-    version = "11.1.5.2";
-    hash = "sha256-KzaqwpzISHB7tSTruynEOJmSlJnAFK2h7/cRI/zkNPk=";
-  };
-  nv-codec-headers-12 = nv-codec-headers-template {
-    version = "12.1.14.0";
-    hash = "sha256-WJYuFmMGSW+B32LwE7oXv/IeTln6TNEeXSkquHh85Go=";
-  };
-}