paco: init at 1.0

This commit is contained in:
Hugo Lageneste 2020-09-27 16:12:28 +02:00
parent 4212f719bb
commit 2dc68c3e76
3 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "paco";
version = "1.0";
src = fetchFromGitHub {
owner = "pacolang";
repo = "paco";
rev = "v${version}";
sha256 = "03x75h40dhjswbf2g1408krj9b1w05y9pjzygzhklldc75r3n9dh";
};
goPackagePath = "github.com/pacolang/paco";
goDeps = ./deps.nix;
meta = with lib; {
description = "A simple compiled programming language";
homepage = "https://github.com/pacolang/paco";
license = licenses.mit;
maintainers = with maintainers; [ hugolgst ];
};
}

93
pkgs/development/compilers/paco/deps.nix generated Normal file
View file

@ -0,0 +1,93 @@
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
[
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
rev = "v1.1.0";
sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
};
}
{
goPackagePath = "github.com/gookit/color";
fetch = {
type = "git";
url = "https://github.com/gookit/color";
rev = "v1.1.7";
sha256 = "02gq82i9srr8bv5yhgkmn5j1r3pn8wspiisvhpbyhykm1fn736mz";
};
}
{
goPackagePath = "github.com/kr/pty";
fetch = {
type = "git";
url = "https://github.com/kr/pty";
rev = "v1.1.1";
sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
};
}
{
goPackagePath = "github.com/kr/text";
fetch = {
type = "git";
url = "https://github.com/kr/text";
rev = "v0.1.0";
sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
};
}
{
goPackagePath = "github.com/niemeyer/pretty";
fetch = {
type = "git";
url = "https://github.com/niemeyer/pretty";
rev = "a10e7caefd8e";
sha256 = "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v";
};
}
{
goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
type = "git";
url = "https://github.com/pmezard/go-difflib";
rev = "v1.0.0";
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
{
goPackagePath = "github.com/stretchr/objx";
fetch = {
type = "git";
url = "https://github.com/stretchr/objx";
rev = "v0.1.0";
sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
};
}
{
goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
rev = "v1.3.0";
sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
};
}
{
goPackagePath = "gopkg.in/check.v1";
fetch = {
type = "git";
url = "https://gopkg.in/check.v1";
rev = "8fa46927fb4f";
sha256 = "0fx03x0nx9mjwnqphnx852q9p76qg7cazrachvgr1bj357lplrcw";
};
}
{
goPackagePath = "gopkg.in/pipe.v2";
fetch = {
type = "git";
url = "https://gopkg.in/pipe.v2";
rev = "3c2ca4d52544";
sha256 = "090wrj4n6a6pzdlakcxy9qnkngc8hp6m49ipbnlszs0hyj2hnngv";
};
}
]

View file

@ -6128,6 +6128,8 @@ in
pacman = callPackage ../tools/package-management/pacman { };
paco = callPackage ../development/compilers/paco { };
padthv1 = libsForQt5.callPackage ../applications/audio/padthv1 { };
page = callPackage ../tools/misc/page { };