aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/misc/fsv
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-10-31 19:35:09 +0100
committerMx Kookie <kookie@spacekookie.de>2020-10-31 19:35:09 +0100
commitc4625b175f8200f643fd6e11010932ea44c78433 (patch)
treebce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/applications/misc/fsv
parent49f735974dd103039ddc4cb576bb76555164a9e7 (diff)
parentd661aa56a8843e991261510c1bb28fdc2f6975ae (diff)
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7 git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/misc/fsv')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/misc/fsv/default.nix52
1 files changed, 52 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/misc/fsv/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/misc/fsv/default.nix
new file mode 100644
index 000000000000..8b6898958d3c
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/applications/misc/fsv/default.nix
@@ -0,0 +1,52 @@
+{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook
+, libtool, pkgconfig, gtk2, libGLU, file
+}:
+
+let
+ gtkglarea = stdenv.mkDerivation rec {
+ pname = "gtkglarea";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf";
+ };
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ gtk2 libGLU ];
+ hardeningDisable = [ "format" ];
+ };
+
+in stdenv.mkDerivation rec {
+ pname = "fsv";
+ version = "0.9-1";
+
+ src = fetchFromGitHub {
+ owner = "mcuelenaere";
+ repo = "fsv";
+ rev = "${pname}-${version}";
+ sha256 = "0n09jd7yqj18mx6zqbg7kab4idg5llr15g6avafj74fpg1h7iimj";
+ };
+
+ postPatch = ''
+ # fix build with gettext 0.20
+ sed -i 's/AM_GNU_GETTEXT/AM_GNU_GETTEXT([external])/' configure.in
+ '';
+
+ nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
+ buildInputs = [ file gtk2 libGLU gtkglarea ];
+
+ meta = with stdenv.lib; {
+ description = "fsv is a file system visualizer in cyberspace";
+ 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.
+ '';
+ homepage = "https://github.com/mcuelenaere/fsv";
+ license = licenses.lgpl2;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ rnhmjoj ];
+ };
+}