abduco: 0.6 -> 2018-05-16
This commit is contained in:
parent
c5729a30f8
commit
2922ae9ee7
1 changed files with 18 additions and 20 deletions
|
@ -1,29 +1,27 @@
|
|||
{ stdenv, fetchurl, writeText, conf? null}:
|
||||
{ stdenv, fetchFromGitHub, writeText, conf ? null }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "abduco-0.6";
|
||||
name = "abduco-2018-05-16";
|
||||
|
||||
meta = {
|
||||
homepage = http://brain-dump.org/projects/abduco;
|
||||
license = licenses.isc;
|
||||
description = "Allows programs to be run independently from its controlling terminal";
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "martanne";
|
||||
repo = "abduco";
|
||||
rev = "8f80aa8044d7ecf0e43a0294a09007d056b20e4c";
|
||||
sha256 = "0wqcif633nbgnznn46j0sng9l0wncppw1x1c42f75b4p9hrph203";
|
||||
};
|
||||
|
||||
CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz";
|
||||
sha256 = "1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9";
|
||||
};
|
||||
CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||
|
||||
installPhase = ''
|
||||
make PREFIX=$out install
|
||||
'';
|
||||
meta = {
|
||||
homepage = http://brain-dump.org/projects/abduco;
|
||||
license = licenses.isc;
|
||||
description = "Allows programs to be run independently from its controlling terminal";
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue