abduco: 2018-05-16 -> 2020-04-30
This commit is contained in:
parent
1c26497371
commit
7453cb20b1
|
@ -1,23 +1,23 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, writeText, conf ? null }:
|
{ lib, stdenv, fetchFromGitHub, writeText, conf ? null }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "abduco-2018-05-16";
|
pname = "abduco";
|
||||||
|
version = "2020-04-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "martanne";
|
owner = "martanne";
|
||||||
repo = "abduco";
|
repo = "abduco";
|
||||||
rev = "8f80aa8044d7ecf0e43a0294a09007d056b20e4c";
|
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
|
||||||
sha256 = "0wqcif633nbgnznn46j0sng9l0wncppw1x1c42f75b4p9hrph203";
|
sha256 = "0a3p8xljhpk7zh203s75248blfir15smgw5jmszwbmdpy4mqzd53";
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
preBuild = lib.optionalString (conf != null)
|
||||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
"cp ${writeText "config.def.h" conf} config.def.h";
|
||||||
|
|
||||||
|
installFlags = [ "install-completion" ];
|
||||||
CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "http://brain-dump.org/projects/abduco";
|
homepage = "http://brain-dump.org/projects/abduco";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
description = "Allows programs to be run independently from its controlling terminal";
|
description = "Allows programs to be run independently from its controlling terminal";
|
||||||
|
|
Loading…
Reference in a new issue