doublecmd: refactor to new overlay-style overridable attributes

+4 -4
+4 -4
pkgs/applications/file-managers/doublecmd/default.nix
··· 11 , wrapQtAppsHook 12 }: 13 14 - stdenv.mkDerivation rec { 15 pname = "doublecmd"; 16 version = "1.0.8"; 17 18 src = fetchFromGitHub { 19 owner = "doublecmd"; 20 repo = "doublecmd"; 21 - rev = "v${version}"; 22 hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk="; 23 }; 24 ··· 36 libqt5pas 37 ]; 38 39 - NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; 40 41 postPatch = '' 42 patchShebangs build.sh install/linux/install.sh ··· 70 maintainers = with maintainers; [ AndersonTorres ]; 71 platforms = with platforms; linux; 72 }; 73 - } 74 # TODO: deal with other platforms too
··· 11 , wrapQtAppsHook 12 }: 13 14 + stdenv.mkDerivation (finalAttrs: { 15 pname = "doublecmd"; 16 version = "1.0.8"; 17 18 src = fetchFromGitHub { 19 owner = "doublecmd"; 20 repo = "doublecmd"; 21 + rev = "v${finalAttrs.version}"; 22 hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk="; 23 }; 24 ··· 36 libqt5pas 37 ]; 38 39 + NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}"; 40 41 postPatch = '' 42 patchShebangs build.sh install/linux/install.sh ··· 70 maintainers = with maintainers; [ AndersonTorres ]; 71 platforms = with platforms; linux; 72 }; 73 + }) 74 # TODO: deal with other platforms too