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
54
pkgs/development/tools/documentation/gi-docgen/default.nix
Normal file
54
pkgs/development/tools/documentation/gi-docgen/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, fetchFromGitLab
|
||||
, meson
|
||||
, ninja
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "gi-docgen";
|
||||
version = "2022.1";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "35pL/2TQRVgPfAcfOGCLlSP1LIh4r95mFC+UoXQEEHo=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
python3
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
pythonPath = with python3.pkgs; [
|
||||
jinja2
|
||||
markdown
|
||||
markupsafe
|
||||
pygments
|
||||
toml
|
||||
typogrify
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
postFixup = ''
|
||||
# Do not propagate Python
|
||||
substituteInPlace $out/nix-support/propagated-build-inputs \
|
||||
--replace "${python3}" ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Documentation generator for GObject-based libraries";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/gi-docgen";
|
||||
license = licenses.asl20; # OR GPL-3.0-or-later
|
||||
maintainers = teams.gnome.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue