fsv: 0.9-1 -> 3.0

The original 0.9-1 fork is unmaintained:
https://github.com/mcuelenaere/fsv/commit/4ef9040fcf14cddd52d79dad87a80355fc885602

The new 3.0 version uses a new fork https://github.com/jabl/fsv

+38 -31
+37 -28
pkgs/applications/misc/fsv/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchFromGitHub, autoreconfHook 2 - , libtool, pkg-config, gtk2, libGLU, file 3 }: 4 5 - let 6 - gtkglarea = stdenv.mkDerivation rec { 7 - pname = "gtkglarea"; 8 - version = "2.1.0"; 9 - src = fetchurl { 10 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf"; 12 - }; 13 - nativeBuildInputs = [ pkg-config ]; 14 - buildInputs = [ gtk2 libGLU ]; 15 - hardeningDisable = [ "format" ]; 16 - }; 17 - 18 - in stdenv.mkDerivation rec { 19 pname = "fsv"; 20 - version = "0.9-1"; 21 22 src = fetchFromGitHub { 23 - owner = "mcuelenaere"; 24 - repo = "fsv"; 25 - rev = "${pname}-${version}"; 26 - sha256 = "0n09jd7yqj18mx6zqbg7kab4idg5llr15g6avafj74fpg1h7iimj"; 27 }; 28 29 - postPatch = '' 30 - # fix build with gettext 0.20 31 - sed -i 's/AM_GNU_GETTEXT/AM_GNU_GETTEXT([external])/' configure.in 32 - ''; 33 34 - nativeBuildInputs = [ autoreconfHook libtool pkg-config ]; 35 - buildInputs = [ file gtk2 libGLU gtkglarea ]; 36 37 meta = with lib; { 38 description = "File system visualizer in cyberspace"; ··· 44 hard drive, or any arbitrarily large collection of files, limited only 45 by the host computer's memory and graphics hardware. 46 ''; 47 - homepage = "https://github.com/mcuelenaere/fsv"; 48 license = licenses.lgpl2; 49 platforms = platforms.linux; 50 maintainers = with maintainers; [ rnhmjoj ];
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , cglm 8 + , gtk3 9 + , libepoxy 10 + , libGLU 11 }: 12 13 + stdenv.mkDerivation rec { 14 pname = "fsv"; 15 + version = "3.0"; 16 17 src = fetchFromGitHub { 18 + owner = "jabl"; 19 + repo = "fsv"; 20 + rev = "${pname}-${version}"; 21 + hash = "sha256-fxsA3qcBPvK4H5P4juGTe6eg1lkygvzFpNW36B9lsE4="; 22 }; 23 24 + nativeBuildInputs = [ 25 + meson 26 + ninja 27 + pkg-config 28 + ]; 29 30 + buildInputs = [ 31 + cglm 32 + gtk3 33 + libepoxy 34 + libGLU 35 + ]; 36 + 37 + installPhase = '' 38 + runHook preInstall 39 + 40 + mkdir -p $out/bin 41 + cp src/fsv $out/bin/fsv 42 + 43 + runHook postInstall 44 + ''; 45 46 meta = with lib; { 47 description = "File system visualizer in cyberspace"; ··· 53 hard drive, or any arbitrarily large collection of files, limited only 54 by the host computer's memory and graphics hardware. 55 ''; 56 + homepage = "https://github.com/jabl/fsv"; 57 license = licenses.lgpl2; 58 platforms = platforms.linux; 59 maintainers = with maintainers; [ rnhmjoj ];
+1 -3
pkgs/top-level/all-packages.nix
··· 27807 27808 fritzprofiles = with python3.pkgs; toPythonApplication fritzprofiles; 27809 27810 - fsv = callPackage ../applications/misc/fsv { 27811 - autoreconfHook = buildPackages.autoreconfHook269; 27812 - }; 27813 27814 ft2-clone = callPackage ../applications/audio/ft2-clone { 27815 inherit (darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices Cocoa;
··· 27807 27808 fritzprofiles = with python3.pkgs; toPythonApplication fritzprofiles; 27809 27810 + fsv = callPackage ../applications/misc/fsv { }; 27811 27812 ft2-clone = callPackage ../applications/audio/ft2-clone { 27813 inherit (darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices Cocoa;