mirror of
https://github.com/Noratrieb/winxpbg.git
synced 2026-03-15 06:56:10 +01:00
45 lines
682 B
Nix
45 lines
682 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
glib,
|
|
gtk4,
|
|
webkitgtk_6_0,
|
|
gtk4-layer-shell,
|
|
}:
|
|
let
|
|
fs = lib.fileset;
|
|
|
|
files = fs.unions [
|
|
./view
|
|
];
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "winxpbg";
|
|
inherit ((builtins.fromTOML (builtins.readFile ./view/Cargo.toml)).package) version;
|
|
|
|
src = fs.toSource {
|
|
root = ./view;
|
|
fileset = files;
|
|
};
|
|
|
|
cargoLock.lockFile = ./view/Cargo.lock;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
webkitgtk_6_0
|
|
gtk4-layer-shell
|
|
];
|
|
|
|
meta = {
|
|
description = "Windows XP as your desktop background";
|
|
mainProgram = "minxpbg";
|
|
};
|
|
}
|