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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
{ lib
, stdenv
, fetchFromGitLab
, blueprint-compiler
, cargo
, desktop-file-utils
, meson
, ninja
, pkg-config
, rustPlatform
, rustc
, wrapGAppsHook4
, cairo
, dbus
, gdk-pixbuf
, glib
, gtk4
, libadwaita
, pango
}:
stdenv.mkDerivation rec {
pname = "impression";
version = "2.1";
src = fetchFromGitLab {
owner = "adhami3310";
repo = "Impression";
rev = "v${version}";
hash = "sha256-Pq1Pz/uNBsk4UdtCwA5gmZoS+kiDrCbpum4ABW7oocA=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-eIfDuz4ewTzmLDKShro3VkoXAZEUOKu133eD/z75jjY=";
};
nativeBuildInputs = [
blueprint-compiler
cargo
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];
buildInputs = [
cairo
dbus
gdk-pixbuf
glib
gtk4
libadwaita
pango
];
meta = {
description = "Straight-forward and modern application to create bootable drives";
homepage = "https://gitlab.com/adhami3310/Impression";
license = lib.licenses.gpl3Only;
mainProgram = "impression";
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.linux;
};
}
|