Skip to content

Commit ffa605a

Browse files
committed
losslesscut: cleaup derivation
1 parent b30fb48 commit ffa605a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

pkgs/by-name/lo/losslesscut-bin/build-from-appimage.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
}:
1010

1111
let
12-
pname = "losslesscut";
13-
1412
src = fetchurl {
1513
url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-linux-x86_64.AppImage";
1614
inherit hash;

pkgs/by-name/lo/losslesscut-bin/build-from-dmg.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@
1010
metaCommon ? { },
1111
}:
1212

13-
let
14-
pname = "losslesscut";
13+
stdenvNoCC.mkDerivation {
14+
inherit pname version;
15+
1516
src = fetchurl {
1617
url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-mac-${
1718
if isAarch64 then "arm64" else "x64"
1819
}.dmg";
1920
inherit hash;
2021
};
21-
in
22-
stdenvNoCC.mkDerivation {
23-
inherit pname version src;
2422

2523
nativeBuildInputs = [ _7zz ];
2624

0 commit comments

Comments
 (0)