mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Allow specifying meta for buildHex and buildErlang.
Adds "meta" for meck package as a test.
This commit is contained in:
parent
2a7e77cac5
commit
acaf2c179e
@ -3,6 +3,7 @@
|
||||
{ name, version
|
||||
, buildInputs ? [], erlangDeps ? []
|
||||
, postPatch ? ""
|
||||
, meta ? {}
|
||||
, ... }@attrs:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -53,6 +54,10 @@ stdenv.mkDerivation (attrs // {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit (erlang.meta) platforms;
|
||||
} // meta;
|
||||
|
||||
passthru = {
|
||||
packageName = name;
|
||||
inherit erlangDeps;
|
||||
|
@ -6,6 +6,7 @@
|
||||
, buildInputs ? [], erlangDeps ? [], pluginDeps ? []
|
||||
, postPatch ? ""
|
||||
, compilePorts ? false
|
||||
, meta ? {}
|
||||
, ... }@attrs:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -88,6 +89,10 @@ stdenv.mkDerivation (attrs // {
|
||||
sha256 = sha256;
|
||||
};
|
||||
|
||||
meta = {
|
||||
inherit (erlang.meta) platforms;
|
||||
} // meta;
|
||||
|
||||
passthru = {
|
||||
packageName = name;
|
||||
inherit erlangDeps;
|
||||
|
@ -1,7 +1,13 @@
|
||||
{ buildHex }:
|
||||
{ stdenv, buildHex }:
|
||||
|
||||
buildHex {
|
||||
name = "meck";
|
||||
version = "0.8.3";
|
||||
sha256 = "1dh2rhks1xly4f49x89vbhsk8fgwkx5zqp0n98mnng8rs1rkigak";
|
||||
|
||||
meta = {
|
||||
description = "A mocking framework for Erlang";
|
||||
homepage = "https://github.com/eproxus/meck";
|
||||
license = stdenv.lib.licenses.apsl20;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user