blob: 2652b674e39b70c53ae4b87e4255f5400ecff5fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, wrapGAppsHook4
, gdk-pixbuf
, gtk4
, libadwaita
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "fclones-gui";
version = "0.1.4";
src = fetchFromGitHub {
owner = "pkolaczk";
repo = "fclones-gui";
rev = "v${version}";
hash = "sha256-zJ5TqFmvUL1nKR8E+jGR4K6OGHJ4ckRky+bdKW0T30s=";
};
cargoHash = "sha256-QT4ZxjarPkEqJLKPsGAaMIaSUmKWZ1xtxWMe2uXaUek=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
gdk-pixbuf
gtk4
libadwaita
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk_11_0.frameworks.IOKit
];
meta = with lib; {
description = "Interactive duplicate file remover";
homepage = "https://github.com/pkolaczk/fclones-gui";
changelog = "https://github.com/pkolaczk/fclones-gui/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}
|