summary refs log tree commit diff
path: root/pkgs/tools/misc/abduco/default.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-03-18 17:03:00 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2021-03-18 17:20:20 +0100
commit7453cb20b182fcb8de6db718e51be4a19ad066f7 (patch)
tree98200f6ea07667cbb4b2e3770186ab703fb67882 /pkgs/tools/misc/abduco/default.nix
parent1c2649737180bb5fd196fb8d3e814977aa3c77d8 (diff)
downloadnixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar.gz
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar.bz2
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar.lz
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar.xz
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.tar.zst
nixpkgs-7453cb20b182fcb8de6db718e51be4a19ad066f7.zip
abduco: 2018-05-16 -> 2020-04-30
Diffstat (limited to 'pkgs/tools/misc/abduco/default.nix')
-rw-r--r--pkgs/tools/misc/abduco/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/tools/misc/abduco/default.nix b/pkgs/tools/misc/abduco/default.nix
index dbba2193b14..9493df1c66c 100644
--- a/pkgs/tools/misc/abduco/default.nix
+++ b/pkgs/tools/misc/abduco/default.nix
@@ -1,23 +1,23 @@
 { lib, stdenv, fetchFromGitHub, writeText, conf ? null }:
 
-with lib;
-
 stdenv.mkDerivation rec {
-  name = "abduco-2018-05-16";
+  pname = "abduco";
+  version = "2020-04-30";
 
   src = fetchFromGitHub {
     owner = "martanne";
     repo = "abduco";
-    rev = "8f80aa8044d7ecf0e43a0294a09007d056b20e4c";
-    sha256 = "0wqcif633nbgnznn46j0sng9l0wncppw1x1c42f75b4p9hrph203";
+    rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
+    sha256 = "0a3p8xljhpk7zh203s75248blfir15smgw5jmszwbmdpy4mqzd53";
   };
 
-  configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
-  preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
+  preBuild = lib.optionalString (conf != null)
+    "cp ${writeText "config.def.h" conf} config.def.h";
 
+  installFlags = [ "install-completion" ];
   CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
 
-  meta = {
+  meta = with lib; {
     homepage = "http://brain-dump.org/projects/abduco";
     license = licenses.isc;
     description = "Allows programs to be run independently from its controlling terminal";