From d333c4ee099ef31e29bedf8e3957ef83441295d7 Mon Sep 17 00:00:00 2001 From: Tobias Hammerschmidt Date: Sat, 29 Mar 2008 00:49:26 +0000 Subject: [PATCH] added xosd svn path=/nixpkgs/trunk/; revision=11340 --- pkgs/misc/xosd/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/misc/xosd/default.nix diff --git a/pkgs/misc/xosd/default.nix b/pkgs/misc/xosd/default.nix new file mode 100644 index 000000000000..3996d9b08ef6 --- /dev/null +++ b/pkgs/misc/xosd/default.nix @@ -0,0 +1,18 @@ +args: with args; +stdenv.mkDerivation (rec { + pname = "xosd"; + version = "2.2.12"; + + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://ignavus.net/${name}.tar.gz"; + sha256 = "7d4ae8e1a6dbd7743af3b1cdc85144e2de26abe6daec25f4bd74bf311774df08"; + }; + + buildInputs = [libX11 libXext libXt xextproto xproto]; + + meta = { + description = "XOSD displays text on your screen"; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 76ce4b59ce66..d550dd42ca12 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6283,6 +6283,11 @@ let pkgs = rec { fontconfig fontforge libxml2 libxslt openssl; }; + xosd = import ../misc/xosd { + inherit fetchurl stdenv; + inherit (xlibs) libX11 libXext libXt xextproto xproto; + }; + xsane = import ../misc/xsane { inherit fetchurl stdenv pkgconfig libusb saneBackends saneFrontends;