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
55
pkgs/development/ocaml-modules/phylogenetics/default.nix
Normal file
55
pkgs/development/ocaml-modules/phylogenetics/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ppx_deriving
|
||||
, bppsuite
|
||||
, alcotest
|
||||
, angstrom-unix
|
||||
, biocaml
|
||||
, core
|
||||
, gsl
|
||||
, lacaml
|
||||
, menhir
|
||||
, menhirLib
|
||||
, printbox-text
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "phylogenetics";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256:064ldljzh17h8pp0c27xd1pf6c50yhccw2g3hddzhk07a95q8v16";
|
||||
};
|
||||
|
||||
# Ensure compatibility with printbox ≥ 0.6
|
||||
preConfigure = ''
|
||||
substituteInPlace lib/dune --replace printbox printbox-text
|
||||
'';
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
checkInputs = [ alcotest bppsuite ];
|
||||
buildInputs = [ menhir ];
|
||||
propagatedBuildInputs = [
|
||||
angstrom-unix
|
||||
biocaml
|
||||
core
|
||||
gsl
|
||||
lacaml
|
||||
menhirLib
|
||||
ppx_deriving
|
||||
printbox-text
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Algorithms and datastructures for phylogenetics";
|
||||
homepage = "https://github.com/biocaml/phylogenetics";
|
||||
license = licenses.cecill-b;
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
mainProgram = "phylosim";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue