mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
bitcomet: 2.13.1 -> 2.13.2
This commit is contained in:
parent
cba47ec8b1
commit
4891277cdc
1 changed files with 5 additions and 6 deletions
|
@ -2,16 +2,15 @@
|
|||
lib,
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
webkitgtk_4_1,
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "bitcomet";
|
||||
version = "2.13.1";
|
||||
version = "2.13.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.bitcomet.com/linux/x86_64/BitComet-${version}-x86_64.AppImage";
|
||||
hash = "sha256-s8kCsPKr5XoS/Y6KzuiQV9ARq2UIo2PPKRinvik0aRo=";
|
||||
hash = "sha256-T66hmWmjt7ZZj03IxTSYtNUBoFHgwOoAIOHMyJSAmbU=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
@ -23,19 +22,19 @@ appimageTools.wrapType2 {
|
|||
pkgs: with pkgs; [
|
||||
libxml2
|
||||
libpng
|
||||
webkitgtk_4_1
|
||||
webkitgtk_4_0
|
||||
];
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -Dm644 ${appimageContents}/com.bitcomet.linux.desktop $out/share/applications/bitcomet.desktop
|
||||
substituteInPlace $out/share/applications/bitcomet.desktop \
|
||||
--replace-fail 'Exec=usr/bin/BitComet' 'Exec=bitcomet'
|
||||
--replace-fail "Exec=usr/bin/BitComet" "Exec=bitcomet"
|
||||
cp -r ${appimageContents}/usr/share/icons $out/share/icons
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.bitcomet.com";
|
||||
description = "Free BitTorrent download client";
|
||||
description = "BitTorrent download client";
|
||||
mainProgram = "bitcomet";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = lib.licenses.unfree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue