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
34
pkgs/development/coq-modules/coqeal/default.nix
Normal file
34
pkgs/development/coq-modules/coqeal/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ coq, mkCoqDerivation, mathcomp, bignums, paramcoq, multinomials,
|
||||
mathcomp-real-closed,
|
||||
lib, version ? null }:
|
||||
|
||||
with lib;
|
||||
|
||||
(mkCoqDerivation {
|
||||
|
||||
pname = "CoqEAL";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with versions; switch [ coq.version mathcomp.version ] [
|
||||
{ cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; }
|
||||
{ cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; }
|
||||
{ cases = [ (isGe "8.7") "1.11.0" ]; out = "1.0.4"; }
|
||||
{ cases = [ (isGe "8.7") "1.10.0" ]; out = "1.0.3"; }
|
||||
] null;
|
||||
|
||||
release."1.1.0".sha256 = "1vyhfna5frkkq2fl1fkg2mwzpg09k3sbzxxpyp14fjay81xajrxr";
|
||||
release."1.0.6".sha256 = "0lqkyfj4qbq8wr3yk8qgn7mclw582n3fjl9l19yp8cnchspzywx0";
|
||||
release."1.0.5".sha256 = "0cmvky8glb5z2dy3q62aln6qbav4lrf2q1589f6h1gn5bgjrbzkm";
|
||||
release."1.0.4".sha256 = "1g5m26lr2lwxh6ld2gykailhay4d0ayql4bfh0aiwqpmmczmxipk";
|
||||
release."1.0.3".sha256 = "0hc63ny7phzbihy8l7wxjvn3haxx8jfnhi91iw8hkq8n29i23v24";
|
||||
|
||||
propagatedBuildInputs = [ mathcomp.algebra bignums paramcoq multinomials ];
|
||||
|
||||
meta = {
|
||||
description = "CoqEAL - The Coq Effective Algebra Library";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}).overrideAttrs (o: {
|
||||
propagatedBuildInputs = o.propagatedBuildInputs
|
||||
++ optional (versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed;
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue