2022-09-29 09:38:57 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, cglm
|
|
|
|
, gtk3
|
|
|
|
, libepoxy
|
|
|
|
, libGLU
|
2018-12-31 01:21:14 +00:00
|
|
|
}:
|
|
|
|
|
2022-09-29 09:38:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 06:46:07 +00:00
|
|
|
pname = "fsv";
|
2022-09-29 09:38:57 +00:00
|
|
|
version = "3.0";
|
2018-12-31 01:21:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-09-29 09:38:57 +00:00
|
|
|
owner = "jabl";
|
|
|
|
repo = "fsv";
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
hash = "sha256-fxsA3qcBPvK4H5P4juGTe6eg1lkygvzFpNW36B9lsE4=";
|
2018-12-31 01:21:14 +00:00
|
|
|
};
|
|
|
|
|
2022-09-29 09:38:57 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cglm
|
|
|
|
gtk3
|
|
|
|
libepoxy
|
|
|
|
libGLU
|
|
|
|
];
|
2019-12-17 23:26:41 +00:00
|
|
|
|
2022-09-29 09:38:57 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp src/fsv $out/bin/fsv
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2018-12-31 01:21:14 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "File system visualizer in cyberspace";
|
2018-12-31 01:21:14 +00:00
|
|
|
longDescription = ''
|
|
|
|
fsv (pronounced eff-ess-vee) is a file system visualizer in cyberspace.
|
|
|
|
It lays out files and directories in three dimensions, geometrically
|
|
|
|
representing the file system hierarchy to allow visual overview
|
|
|
|
and analysis. fsv can visualize a modest home directory, a workstation's
|
|
|
|
hard drive, or any arbitrarily large collection of files, limited only
|
|
|
|
by the host computer's memory and graphics hardware.
|
|
|
|
'';
|
2022-09-29 09:38:57 +00:00
|
|
|
homepage = "https://github.com/jabl/fsv";
|
2018-12-31 01:21:14 +00:00
|
|
|
license = licenses.lgpl2;
|
2019-06-06 02:54:08 +00:00
|
|
|
platforms = platforms.linux;
|
2018-12-31 01:21:14 +00:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|