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
31
pkgs/development/ocaml-modules/spacetime_lib/default.nix
Normal file
31
pkgs/development/ocaml-modules/spacetime_lib/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, owee }:
|
||||
|
||||
lib.throwIfNot (lib.versionAtLeast "4.12" ocaml.version)
|
||||
"spacetime_lib is not available for OCaml ${ocaml.version}"
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "spacetime_lib";
|
||||
version = "0.3.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lpw25";
|
||||
repo = "spacetime_lib";
|
||||
rev = version;
|
||||
sha256 = "0biisgbycr5v3nm5jp8i0h6vq76vzasdjkcgh8yr7fhxc81jgv3p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ owee ];
|
||||
|
||||
preConfigure = ''
|
||||
bash ./configure.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An OCaml library providing some simple operations for handling OCaml “spacetime” profiles";
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue