mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
46 lines
898 B
Nix
46 lines
898 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, libadwaita
|
|
, libpanel
|
|
, gtksourceview5
|
|
, poppler
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "fm";
|
|
version = "unstable-2023-07-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "euclio";
|
|
repo = "fm";
|
|
rev = "a0830b5483a48a8b1e40982f20c28dcb5bfe4a6e";
|
|
hash = "sha256-uso7j+bf6PF5wiTzSJymSxNNfzqXVcJygkfGdzQl4xA=";
|
|
};
|
|
|
|
cargoHash = "sha256-3IxpnDYbfLI1VAMgqIE4eSkiT9Z6HcC3K6MH6uqD9Ic=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
libpanel
|
|
gtksourceview5
|
|
poppler
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Small, general purpose file manager built with GTK4";
|
|
homepage = "https://github.com/euclio/fm";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aleksana ];
|
|
mainProgram = "fm";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|