mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
daemon: switch to pname, version; cleanups
This commit is contained in:
parent
721d9ecfa9
commit
9752b47524
1 changed files with 11 additions and 8 deletions
|
@ -1,15 +1,18 @@
|
|||
{stdenv, fetchurl, perl}:
|
||||
{ stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "daemon";
|
||||
version = "0.7";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "daemon-0.7";
|
||||
src = fetchurl {
|
||||
url = "http://libslack.org/daemon/download/daemon-0.7.tar.gz";
|
||||
url = "http://libslack.org/daemon/download/daemon-${version}.tar.gz";
|
||||
sha256 = "0b17zzl7bqnkn7a4pr3l6fxqfmxfld7izphrab5nvhc4wzng4spn";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Turns other processes into daemons";
|
||||
longDescription = ''
|
||||
Daemon turns other process into daemons. There are many tasks that need
|
||||
|
@ -18,8 +21,8 @@ stdenv.mkDerivation {
|
|||
writing daemons in languages other than C, C++ or Perl (e.g. /bin/sh,
|
||||
Java).
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.sander ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue