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
39
pkgs/development/ocaml-modules/gg/default.nix
Normal file
39
pkgs/development/ocaml-modules/gg/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
|
||||
|
||||
let
|
||||
homepage = "https://erratique.ch/software/gg";
|
||||
version = "1.0.0";
|
||||
in
|
||||
|
||||
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
|
||||
"gg is not available for OCaml ${ocaml.version}"
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
pname = "ocaml${ocaml.version}-gg";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "${homepage}/releases/gg-${version}.tbz";
|
||||
sha256 = "sha256:0j7bpj8k17csnz6v6frkz9aycywsb7xmznnb31g8rbfk3626f3ci";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||
buildInputs = [ topkg ];
|
||||
|
||||
inherit (topkg) buildPhase installPhase;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Basic types for computer graphics in OCaml";
|
||||
longDescription = ''
|
||||
Gg is an OCaml module providing basic types for computer graphics. It
|
||||
defines types and functions for floats, vectors, points, sizes,
|
||||
matrices, quaternions, axis aligned boxes, colors, color spaces, and
|
||||
raster data.
|
||||
'';
|
||||
inherit homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.jirkamarsik ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue