fclones-gui: move to by-name
This commit is contained in:
parent
f545b4714e
commit
c6c1a1c318
@ -9,14 +9,14 @@
|
|||||||
libadwaita,
|
libadwaita,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "fclones-gui";
|
pname = "fclones-gui";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pkolaczk";
|
owner = "pkolaczk";
|
||||||
repo = "fclones-gui";
|
repo = "fclones-gui";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ad7wyoCjSQ8i6c+4IorImqAY2Q6pwBtI2JkkbkGa46U=";
|
hash = "sha256-ad7wyoCjSQ8i6c+4IorImqAY2Q6pwBtI2JkkbkGa46U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -35,18 +35,17 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace snap/gui/fclones-gui.desktop \
|
substituteInPlace snap/gui/fclones-gui.desktop \
|
||||||
--replace 'Icon=''${SNAP}/meta/gui/fclones-gui.png' Icon=fclones-gui
|
--replace-fail "Icon=''${SNAP}/meta/gui/fclones-gui.png" "Icon=fclones-gui"
|
||||||
|
|
||||||
install -Dm444 snap/gui/fclones-gui.desktop -t $out/share/applications
|
install -Dm444 snap/gui/fclones-gui.desktop -t $out/share/applications
|
||||||
install -Dm444 snap/gui/fclones-gui.png -t $out/share/pixmaps
|
install -Dm444 snap/gui/fclones-gui.png -t $out/share/pixmaps
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Interactive duplicate file remover";
|
description = "Interactive duplicate file remover";
|
||||||
mainProgram = "fclones-gui";
|
mainProgram = "fclones-gui";
|
||||||
homepage = "https://github.com/pkolaczk/fclones-gui";
|
homepage = "https://github.com/pkolaczk/fclones-gui";
|
||||||
changelog = "https://github.com/pkolaczk/fclones-gui/releases/tag/${src.rev}";
|
changelog = "https://github.com/pkolaczk/fclones-gui/releases/tag/${finalAttrs.src.tag}";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ figsoda ];
|
maintainers = builtins.attrValues { inherit (lib.maintainers) figsoda; };
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
@ -12181,8 +12181,6 @@ with pkgs;
|
|||||||
|
|
||||||
fclones = callPackage ../tools/misc/fclones { };
|
fclones = callPackage ../tools/misc/fclones { };
|
||||||
|
|
||||||
fclones-gui = callPackage ../tools/misc/fclones/gui.nix { };
|
|
||||||
|
|
||||||
feh = callPackage ../applications/graphics/feh {
|
feh = callPackage ../applications/graphics/feh {
|
||||||
imlib2 = imlib2Full;
|
imlib2 = imlib2Full;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user