Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3a5fe2eaf5ee
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 94aa943e386c
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 2, 2020

  1. Copy the full SHA
    9752b47 View commit details
  2. Merge pull request #105635 from SuperSandro2000/daemon-cleanup

    daemon: switch to pname, version; cleanups
    bhipple authored Dec 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    94aa943 View commit details
Showing with 11 additions and 8 deletions.
  1. +11 −8 pkgs/tools/system/daemon/default.nix
19 changes: 11 additions & 8 deletions pkgs/tools/system/daemon/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}