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
48
pkgs/development/libraries/libgit2-glib/default.nix
Normal file
48
pkgs/development/libraries/libgit2-glib/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib, stdenv, fetchurl, gnome, meson, ninja, pkg-config, vala, libssh2
|
||||
, gtk-doc, gobject-introspection, libgit2, glib, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgit2-glib";
|
||||
version = "1.0.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "RgpdaTaVDKCNLYUYv8kMErsYfPbmdN5xX3BV/FgQK1c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for f in meson_vapi_link.py meson_python_compile.py; do
|
||||
chmod +x $f
|
||||
patchShebangs $f
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
versionPolicy = "none";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkg-config vala gtk-doc gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# Required by libgit2-glib-1.0.pc
|
||||
libgit2 glib
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libssh2
|
||||
python3.pkgs.pygobject3 # this should really be a propagated input of python output
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A glib wrapper library around the libgit2 git access library";
|
||||
homepage = "https://wiki.gnome.org/Projects/Libgit2-glib";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue