mix2nix: init at 0.1.2
This commit is contained in:
parent
b34ab9683c
commit
40da7cda40
|
@ -11465,6 +11465,16 @@
|
|||
github = "pulsation";
|
||||
githubId = 1838397;
|
||||
};
|
||||
ydlr = {
|
||||
name = "ydlr";
|
||||
email = "ydlr@ydlr.io";
|
||||
github = "ydlr";
|
||||
githubId = 58453832;
|
||||
keys = [{
|
||||
longkeyid = "rsa4096/0x43AB44130A29AD9D";
|
||||
fingerprint = "FD0A C425 9EF5 4084 F99F 9B47 2ACC 9749 7C68 FAD4";
|
||||
}];
|
||||
};
|
||||
zane = {
|
||||
name = "Zane van Iperen";
|
||||
email = "zane@zanevaniperen.com";
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, lib, fetchFromGitHub, elixir, erlang }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "mix2nix";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ydlr";
|
||||
repo = "mix2nix";
|
||||
rev = "b153a252f0689d3f6919e16c2df2fb3b6bcc9d2a";
|
||||
sha256 = "15wyz7gdjywsqvsf1ad9gklvqsqi7lwgmyks3bjlc2sk6kpdxdmi";
|
||||
};
|
||||
|
||||
buildInputs = [ elixir erlang ];
|
||||
|
||||
buildPhase = "mix escript.build";
|
||||
installPhase = "install -Dt $out/bin mix2nix";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate nix expressions from mix.lock file.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ydlr beam ];
|
||||
};
|
||||
}
|
|
@ -269,6 +269,8 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) AppKit IOKit;
|
||||
};
|
||||
|
||||
mix2nix = callPackage ../development/tools/mix2nix/default.nix { };
|
||||
|
||||
proto-contrib = callPackage ../development/tools/proto-contrib {};
|
||||
|
||||
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
|
||||
|
|
Loading…
Reference in New Issue