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
36
pkgs/applications/misc/natural-docs/default.nix
Normal file
36
pkgs/applications/misc/natural-docs/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchzip, makeWrapper, mono, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "natural-docs";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://naturaldocs.org/download/natural_docs/${version}/Natural_Docs_${version}.zip";
|
||||
sha256 = "sha256-W0E9wamzABnPleVhHHXTIdWJk8kWnrUHojM+pcsowy8=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r . $out/
|
||||
makeWrapper ${mono}/bin/mono $out/bin/NaturalDocs --add-flags "$out/NaturalDocs.exe"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Documentation generator for multiple programming languages.";
|
||||
longDescription = ''
|
||||
Natural Docs is an open source documentation generator for multiple
|
||||
programming languages. You document your code in a natural syntax that
|
||||
reads like plain English. Natural Docs then scans your code and builds
|
||||
high-quality HTML documentation from it.
|
||||
'';
|
||||
homepage = "https://naturaldocs.org";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = [ maintainers.nkpvk ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue