From fb596303cfa5af437a8ccb996721194ca444d9f5 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sun, 24 Nov 2013 22:26:56 +0000 Subject: [PATCH] Adds beanstalkd v1.9 --- pkgs/servers/beanstalkd/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/servers/beanstalkd/default.nix diff --git a/pkgs/servers/beanstalkd/default.nix b/pkgs/servers/beanstalkd/default.nix new file mode 100644 index 000000000000..717ea6306cff --- /dev/null +++ b/pkgs/servers/beanstalkd/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl }: +stdenv.mkDerivation rec { + version = "1.9"; + name = "beanstalkd-${version}"; + + installPhase=''make install "PREFIX=$out"''; + + src = fetchurl { + url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz"; + sha256 = "158e6d6090c0afac7ee17b9f22713506b3e870dc04a738517282e2e262afb9eb"; + }; + + meta = with stdenv.lib; { + homepage = http://kr.github.io/beanstalkd/; + description = "Beanstalk is a simple, fast work queue."; + license = licenses.mit; + maintainers = [ maintainers.zimbatm ]; + platforms = platforms.all; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2ab96b48057e..954aa173361b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -588,6 +588,8 @@ let bacula = callPackage ../tools/backup/bacula { }; + beanstalkd = callPackage ../servers/beanstalkd { }; + bgs = callPackage ../tools/X11/bgs { }; bibtextools = callPackage ../tools/typesetting/bibtex-tools {