Skip to content

Commit

Permalink
mmake: init at 1.2.0 (#28904)
Browse files Browse the repository at this point in the history
* Package for mmake

* Package for mmake - build from sources

* Package name update

* Added maintainers
  • Loading branch information
gabesoft authored and Mic92 committed Sep 5, 2017
1 parent 62c4d15 commit 7c08e86
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>";
fuzzy-id = "Thomas Bach <hacking+nixos@babibo.de>";
fxfactorial = "Edgar Aroutiounian <edgar.factorial@gmail.com>";
gabesoft = "Gabriel Adomnicai <gabesoft@gmail.com>";
gal_bolle = "Florent Becker <florent.becker@ens-lyon.org>";
garbas = "Rok Garbas <rok@garbas.si>";
garrison = "Jim Garrison <jim@garrison.cc>";
Expand Down
25 changes: 25 additions & 0 deletions pkgs/tools/misc/mmake/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
name = "mmake-${version}";
version = "1.2.0";

goPackagePath = "github.com/tj/mmake";

src = fetchFromGitHub {
owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "1pyqgk04v0f7a28cwq9c40bd2cgrkrv4wqcijdzpgn4bqhrqab4f";
};

goDeps = ./deps.nix;

meta = with stdenv.lib; {
homepage = https://github.com/tj/mmake;
description = "Mmake is a small program which wraps make to provide additional functionality, such as user-friendly help output, remote includes, and eventually more. It otherwise acts as a pass-through to standard make.";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.gabesoft ];
};
}
30 changes: 30 additions & 0 deletions pkgs/tools/misc/mmake/deps.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/apex/log";
fetch = {
type = "git";
url = "https://github.com/apex/log";
rev = "0296d6eb16bb28f8a0c55668affcf4876dc269be";
sha256 = "067px84y73h60bai1yy6xqf2l05gq6zsp64fn58d4fwzk04aa16v";
};
}
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
rev = "c605e284fe17294bda444b34710735b29d1a9d90";
sha256 = "1izjk4msnc6wn1mclg0ypa6i31zfwb1r3032k8q4jfbd57hp0bz6";
};
}
{
goPackagePath = "github.com/segmentio/go-env";
fetch = {
type = "git";
url = "https://github.com/segmentio/go-env";
rev = "ea0600a7760cd15ccca9057be4a87d68e95ee876";
sha256 = "0rgclbi0na5042cirr52lriwyb5a2rdpqx211zfwyrrvc3zq4lwq";
};
}
]
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3277,6 +3277,8 @@ with pkgs;

mktorrent = callPackage ../tools/misc/mktorrent { };

mmake = callPackage ../tools/misc/mmake { };

modemmanager = callPackage ../tools/networking/modemmanager {};

modsecurity_standalone = callPackage ../tools/security/modsecurity { };
Expand Down

0 comments on commit 7c08e86

Please sign in to comment.