diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-03-31 16:05:50 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-03-31 16:05:50 -0300 |
commit | c7ccaa7154cf44a58682d2e4857b4f132667fe1f (patch) | |
tree | ecfc4716275ff1805fba9c2724fd47a81c4f3c9a /pkgs/by-name/fv | |
parent | 77a820e18a5c4739fd93b85bea8c5d0d26dde94a (diff) |
fvwm3: migrate to by-name
Diffstat (limited to 'pkgs/by-name/fv')
-rw-r--r-- | pkgs/by-name/fv/fvwm3/package.nix | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/pkgs/by-name/fv/fvwm3/package.nix b/pkgs/by-name/fv/fvwm3/package.nix new file mode 100644 index 0000000000000..83dffa0200081 --- /dev/null +++ b/pkgs/by-name/fv/fvwm3/package.nix @@ -0,0 +1,97 @@ +{ lib +, stdenv +, fetchFromGitHub +, asciidoctor +, autoreconfHook +, cairo +, fontconfig +, freetype +, fribidi +, libSM +, libX11 +, libXcursor +, libXft +, libXi +, libXinerama +, libXpm +, libXrandr +, libXt +, libevent +, libintl +, libpng +, librsvg +, libstroke +, libxslt +, perl +, pkg-config +, python3Packages +, readline +, sharutils +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "fvwm3"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "fvwmorg"; + repo = "fvwm3"; + rev = finalAttrs.version; + hash = "sha256-y1buTWO1vHzloh2e4EK1dkD0uQa7lIFUbNMkEe5x6Vo="; + }; + + nativeBuildInputs = [ + autoreconfHook + asciidoctor + pkg-config + python3Packages.wrapPython + ]; + + buildInputs = [ + cairo + fontconfig + freetype + fribidi + libSM + libX11 + libXcursor + libXft + libXi + libXinerama + libXpm + libXrandr + libXt + libevent + libintl + libpng + librsvg + libstroke + libxslt + perl + python3Packages.python + readline + sharutils + ]; + + pythonPath = [ + python3Packages.pyxdg + ]; + + configureFlags = [ + "--enable-mandoc" + ]; + + postFixup = '' + wrapPythonPrograms + ''; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "http://fvwm.org"; + description = "A multiple large virtual desktop window manager - Version 3"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ AndersonTorres ]; + inherit (libX11.meta) platforms; + }; +}) |