70 lines
1.2 KiB
Nix
70 lines
1.2 KiB
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|