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
25
pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix
Normal file
25
pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-lablgtk-extras";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-${version}.tar.gz";
|
||||
sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
||||
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
homepage = "http://gtk-extras.forge.ocamlcore.org/";
|
||||
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
branch = "1.4";
|
||||
};
|
||||
}
|
||||
31
pkgs/development/ocaml-modules/lablgtk-extras/default.nix
Normal file
31
pkgs/development/ocaml-modules/lablgtk-extras/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, lib, fetchFromGitLab, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
||||
|
||||
if lib.versionOlder ocaml.version "4.02"
|
||||
|| lib.versionAtLeast ocaml.version "4.13"
|
||||
then throw "lablgtk-extras is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6";
|
||||
pname = "ocaml${ocaml.version}-lablgtk-extras";
|
||||
src = fetchFromGitLab {
|
||||
domain = "framagit.org";
|
||||
owner = "zoggy";
|
||||
repo = "lablgtk-extras";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1bbdp5j18s582mmyd7qiaq1p08g2ag4gl7x65pmzahbhg719hjda";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
||||
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
inherit (ocaml.meta) platforms;
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
homepage = "https://framagit.org/zoggy/lablgtk-extras/";
|
||||
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue