uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/servers/web-apps/jirafeau/default.nix
Normal file
33
pkgs/servers/web-apps/jirafeau/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitLab, writeText }:
|
||||
let
|
||||
localConfig = writeText "config.local.php" ''
|
||||
<?php
|
||||
return require(getenv('JIRAFEAU_CONFIG'));
|
||||
?>
|
||||
'';
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jirafeau";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "mojo42";
|
||||
repo = "Jirafeau";
|
||||
rev = version;
|
||||
hash = "sha256-9v6rtxViXsolx5AKSp2HxcFyU1XJWFSiqzTBl+dQBD4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * $out/
|
||||
cp ${localConfig} $out/lib/config.local.php
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Website permitting upload of a file in a simple way and giving a unique link to it";
|
||||
license = licenses.agpl3;
|
||||
homepage = "https://gitlab.com/mojo42/Jirafeau";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue