diff options
| author | Felix Schröter <dev@felschr.com> | 2023-06-08 20:52:07 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-06-09 06:16:45 +0000 |
| commit | a4857c3940e834cf25832f2015beaff94e9266bb (patch) | |
| tree | b7f95c247f8a65cb0e1e41125b3f9a2f7ec51543 | |
| parent | filebot: 5.0.2 -> 5.0.3 (diff) | |
| download | nixpkgs-origin/backport-235198-to-release-23.05.tar.gz | |
filebot: use finalAttrs pattern with mkDerivation instead of recorigin/backport-235198-to-release-23.05
(cherry picked from commit 3085e24225814cee433d975233a7db18cebad1e9)
| -rw-r--r-- | pkgs/applications/video/filebot/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/video/filebot/default.nix b/pkgs/applications/video/filebot/default.nix index 0c0d07d1eaf7..f281515c602d 100644 --- a/pkgs/applications/video/filebot/default.nix +++ b/pkgs/applications/video/filebot/default.nix @@ -7,12 +7,12 @@ let url = "https://search.maven.org/remotecontent?filepath=com/googlecode/lanterna/lanterna/3.1.1/lanterna-3.1.1.jar"; hash = "sha256-7zxCeXYW5v9ritnvkwRpPKdgSptCmkT3HJOaNgQHUmQ="; }; -in stdenv.mkDerivation rec { +in stdenv.mkDerivation (finalAttrs: { pname = "filebot"; version = "5.0.3"; src = fetchurl { - url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz"; + url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${finalAttrs.version}/FileBot_${finalAttrs.version}-portable.tar.xz"; hash = "sha256-8FTmR+ztR2ugPcgHvfwyh9yfxPiUJdeAVvjjl5cQCy0="; }; @@ -60,4 +60,4 @@ in stdenv.mkDerivation rec { maintainers = with maintainers; [ gleber felschr ]; platforms = platforms.linux; }; -} +}) |
