summary refs log tree commit diff
path: root/pkgs/applications/misc/xlsfonts/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-28 11:40:34 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-28 11:40:34 +0000
commitd864771e268eca7635bd7f64e18eccff8e0d5b1a (patch)
treefc02d9c724e33cfe16b91131d8ac651d02668d76 /pkgs/applications/misc/xlsfonts/default.nix
parentd5aa5641de4d16688405c51640d3ebbd3b468fab (diff)
parentd993cf0f5f8bb1ace728fed24ecc8d5c7aa308d6 (diff)
downloadnixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar.gz
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar.bz2
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar.lz
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar.xz
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.tar.zst
nixpkgs-d864771e268eca7635bd7f64e18eccff8e0d5b1a.zip
Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19139
Diffstat (limited to 'pkgs/applications/misc/xlsfonts/default.nix')
-rw-r--r--pkgs/applications/misc/xlsfonts/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/misc/xlsfonts/default.nix b/pkgs/applications/misc/xlsfonts/default.nix
new file mode 100644
index 00000000000..8fe930ce9a5
--- /dev/null
+++ b/pkgs/applications/misc/xlsfonts/default.nix
@@ -0,0 +1,23 @@
+# This program used to come with xorg releases, but now I could only find it
+# at http://www.x.org/releases/individual/.
+# That is why this expression is not inside pkgs.xorg
+
+{stdenv, fetchurl, libX11, pkgconfig}:
+stdenv.mkDerivation rec {
+  name = "xlsfonts-1.0.2";
+
+  src = fetchurl {
+    url = "http://www.x.org/releases/individual/app/${name}.tar.bz2";
+    sha256 = "070iym754g3mf9x6xczl4gdnpvlk6rdyl1ndwhpjl21vg2dm2vnc";
+  };
+
+  buildInputs = [libX11 pkgconfig];
+
+  meta = {
+    homepage = http://www.x.org/;
+    description = "Lists the fonts available in the X server";
+    licesnse = "free";
+    maintainers = with stdenv.lib.maintainers; [viric];
+    platforms = with stdenv.lib.platforms; linux;
+  };
+}