[Nix-dev] fluxbox: new package

Anderson Torres torres.anderson.85 at gmail.com
Mon Aug 18 14:43:42 CEST 2014


WOW! O.O I like it!
Can I put it on my personal Nixpkgs fork? :)

2014-08-18 5:28 GMT-03:00 Jack Ryan <mixmaster at remailer.cpunk.us>:
> fluxbox: new package
> ---
>
> diff --git a/pkgs/applications/window-managers/fluxbox/default.nix b/pkgs/applications/window-managers/fluxbox/default.nix
> new file mode 100644
> index 0000000..61a7a85
> --- /dev/null
> +++ b/pkgs/applications/window-managers/fluxbox/default.nix
> @@ -0,0 +1,29 @@
> +{ stdenv, fetchurl, pkgconfig
> +, freetype, fribidi
> +, libXext, libXft, libXpm, libXrandr, libXrender, xextproto
> +, libXinerama
> +, imlib2
> +}:
> +
> +stdenv.mkDerivation rec {
> +  name = "fluxbox-1.3.5";
> +
> +  buildInputs = [
> +    pkgconfig
> +    freetype fribidi
> +    libXext libXft libXpm libXrandr libXrender xextproto
> +    libXinerama
> +    imlib2
> +  ];
> +
> +  src = fetchurl {
> +    url = "mirror://sourceforge/fluxbox/${name}.tar.bz2";
> +    sha256 = "164dd7bf59791d09a1e729a4fcd5e7347a1004ba675629860a5cf1a271c32983";
> +  };
> +
> +  meta = {
> +    description = "Full-featured, light-resource X window manager.";
> +    homepage = http://fluxbox.org/;
> +    license = stdenv.lib.licenses.mit;
> +  };
> +}
> diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
> index a6bf218..a0551de 100644
> --- a/pkgs/top-level/all-packages.nix
> +++ b/pkgs/top-level/all-packages.nix
> @@ -8715,6 +8715,8 @@ let
>      debug = config.flashplayer.debug or false;
>    };
>
> +  fluxbox = callPackage ../applications/window-managers/fluxbox { };
> +
>    freecad = callPackage ../applications/graphics/freecad {
>      opencascade = opencascade_6_5;
>      inherit (pythonPackages) matplotlib pycollada;
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list