daemonize: switch to fetchFromGitHub
This commit is contained in:
parent
7cfe1ab75b
commit
11031d1c0c
@ -1,18 +1,20 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "daemonize";
|
||||
version = "1.7.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bmc/daemonize/archive/release-${version}.tar.gz";
|
||||
sha256 = "0q2c3i3si3k7wfhl6fyckkmkc81yp67pz52p3ggis79p4nczri10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bmc";
|
||||
repo = "daemonize";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Runs a command as a Unix daemon";
|
||||
homepage = "http://software.clapper.org/daemonize/";
|
||||
license = licenses.bsd3;
|
||||
homepage = "http://software.clapper.org/daemonize/";
|
||||
license = licenses.bsd3;
|
||||
platforms = with platforms; linux ++ freebsd ++ darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user