K_belwagen: init at 1.0.0
This commit is contained in:
parent
decef6d478
commit
c76269e708
38
krebs/5pkgs/simple/K_belwagen.nix
Normal file
38
krebs/5pkgs/simple/K_belwagen.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, pkgs, stdenv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "K_belwagen";
|
||||
version = "1.0";
|
||||
|
||||
src = pkgs.painload;
|
||||
sourceRoot = "source/K_belwagen";
|
||||
|
||||
buildInputs = [
|
||||
pkgs.jack1
|
||||
pkgs.pkgconfig
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '
|
||||
s@^cd@# &@
|
||||
s@^make@# &@
|
||||
s@^jackd@# &@
|
||||
s@^trap@# &@
|
||||
|
||||
s@^set.*@&\nPATH=${lib.makeBinPath [
|
||||
pkgs.bc
|
||||
pkgs.coreutils
|
||||
]}; export PATH@
|
||||
|
||||
s@\./a\.out@'"$out"'/lib/a.out@
|
||||
' alarm
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
mkdir -p $out/bin
|
||||
|
||||
cp alarm $out/bin
|
||||
cp a.out $out/lib
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user