mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Added abduco
This commit is contained in:
parent
ee3db692e6
commit
50c63f9b32
28
pkgs/tools/misc/abduco/default.nix
Normal file
28
pkgs/tools/misc/abduco/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, writeText, conf? null}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "abduco-0.1";
|
||||
|
||||
meta = {
|
||||
homepage = http://brain-dump.org/projects/abduco;
|
||||
license = "bsd";
|
||||
description = "Allows programs to be run independently from its controlling terminal";
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz";
|
||||
sha256 = "b4ef297cb7cc81170dc7edf75385cb1c55e024a52f90c1dd0bc0e9862e6f39b5";
|
||||
};
|
||||
|
||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||
|
||||
buildInputs = [];
|
||||
|
||||
installPhase = ''
|
||||
make PREFIX=$out install
|
||||
'';
|
||||
}
|
@ -427,6 +427,8 @@ let
|
||||
|
||||
### TOOLS
|
||||
|
||||
abduco = callPackage ../tools/misc/abduco { };
|
||||
|
||||
acct = callPackage ../tools/system/acct { };
|
||||
|
||||
acoustidFingerprinter = callPackage ../tools/audio/acoustid-fingerprinter {
|
||||
|
Loading…
Reference in New Issue
Block a user