Merge pull request #94281 from zowoq/go-rust-package
This commit is contained in:
commit
b3ccfa2698
pkgs
applications
development
tools
web/shopify-themekit
servers
tools
misc
networking
nix/nixpkgs-fmt
virtualization/govc
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, buildGoPackage, git, which }:
|
{ stdenv, fetchFromGitHub, buildGoPackage, git, which }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "quorum";
|
pname = "quorum";
|
||||||
version = "2.5.0";
|
version = "2.5.0";
|
||||||
|
@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
|
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
|
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -21,4 +21,3 @@ rustPlatform.buildRustPackage rec {
|
|||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "go-repo-root";
|
pname = "go-repo-root";
|
||||||
version = "20140911-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20140911-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
|
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
|
||||||
|
|
||||||
goPackagePath = "github.com/cstrahan/go-repo-root";
|
goPackagePath = "github.com/cstrahan/go-repo-root";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "lint";
|
pname = "lint";
|
||||||
version = "20181026-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20181026-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "c67002cb31c3a748b7688c27f20d8358b4193582";
|
rev = "c67002cb31c3a748b7688c27f20d8358b4193582";
|
||||||
|
|
||||||
goPackagePath = "golang.org/x/lint";
|
goPackagePath = "golang.org/x/lint";
|
||||||
excludedPackages = "testdata";
|
excludedPackages = "testdata";
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "gotags";
|
pname = "gotags";
|
||||||
version = "20150803-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20150803-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
|
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
|
||||||
|
|
||||||
goPackagePath = "github.com/jstemmer/gotags";
|
goPackagePath = "github.com/jstemmer/gotags";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
|
@ -14,7 +14,7 @@ buildGoPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A pair programming tool and library written in Golang";
|
description = "A pair programming tool and library written in Golang";
|
||||||
homepage = "https://github.com/jeffail/leaps/";
|
homepage = "https://github.com/jeffail/leaps/";
|
||||||
@ -23,4 +23,3 @@ buildGoPackage rec {
|
|||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
|
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
|
||||||
|
|
||||||
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
|
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -22,4 +22,4 @@ buildGoPackage rec {
|
|||||||
maintainers = with maintainers; [ maintainers."1000101" ];
|
maintainers = with maintainers; [ maintainers."1000101" ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ buildGoPackage rec {
|
|||||||
-ldflags=
|
-ldflags=
|
||||||
-X=main.Version=${version}
|
-X=main.Version=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://cayley.io/";
|
homepage = "https://cayley.io/";
|
||||||
description = "A graph database inspired by Freebase and Knowledge Graph";
|
description = "A graph database inspired by Freebase and Knowledge Graph";
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "mesos-dns";
|
pname = "mesos-dns";
|
||||||
version = "0.1.2";
|
version = "0.1.2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
goPackagePath = "github.com/mesosphere/mesos-dns";
|
goPackagePath = "github.com/mesosphere/mesos-dns";
|
||||||
|
|
||||||
# Avoid including the benchmarking test helper in the output:
|
# Avoid including the benchmarking test helper in the output:
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "skydns";
|
pname = "skydns";
|
||||||
version = "2.5.3a";
|
version = "2.5.3a";
|
||||||
rev = version;
|
rev = version;
|
||||||
|
|
||||||
goPackagePath = "github.com/skynetservices/skydns";
|
goPackagePath = "github.com/skynetservices/skydns";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -19,4 +19,4 @@ rustPlatform.buildRustPackage rec {
|
|||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ filalex77 ];
|
maintainers = with maintainers; [ filalex77 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -24,4 +24,4 @@ buildGoPackage rec {
|
|||||||
maintainers = with maintainers; [ maintainers."1000101" ];
|
maintainers = with maintainers; [ maintainers."1000101" ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ buildGoPackage rec {
|
|||||||
pname = "gawp";
|
pname = "gawp";
|
||||||
version = "20160121-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20160121-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
|
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
|
||||||
|
|
||||||
goPackagePath = "github.com/martingallagher/gawp";
|
goPackagePath = "github.com/martingallagher/gawp";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# I've suggested using `/usr/bin/env stty`, but doing that isn't quite as simple
|
# I've suggested using `/usr/bin/env stty`, but doing that isn't quite as simple
|
||||||
# as a substitution, and this works since we have the path to coreutils stty.
|
# as a substitution, and this works since we have the path to coreutils stty.
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace src/screen/unix.rs --replace "/bin/stty" "${coreutils}/bin/stty"
|
substituteInPlace src/screen/unix.rs --replace "/bin/stty" "${coreutils}/bin/stty"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# some tests require a tty, this variable turns them off for Travis CI,
|
# some tests require a tty, this variable turns them off for Travis CI,
|
||||||
|
@ -23,5 +23,5 @@ buildGoPackage rec {
|
|||||||
maintainers = with maintainers; [ swflint ];
|
maintainers = with maintainers; [ swflint ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ buildGoPackage rec {
|
|||||||
pname = "upower-notify";
|
pname = "upower-notify";
|
||||||
version = "20160310-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20160310-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "14c581e683a7e90ec9fa6d409413c16599a5323c";
|
rev = "14c581e683a7e90ec9fa6d409413c16599a5323c";
|
||||||
|
|
||||||
goPackagePath = "github.com/omeid/upower-notify";
|
goPackagePath = "github.com/omeid/upower-notify";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
|
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "s3gof3r";
|
pname = "s3gof3r";
|
||||||
version = "20151109-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20151109-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "31603a0dc94aefb822bfe2ceea75a6be6013b445";
|
rev = "31603a0dc94aefb822bfe2ceea75a6be6013b445";
|
||||||
|
|
||||||
goPackagePath = "github.com/rlmcpherson/s3gof3r";
|
goPackagePath = "github.com/rlmcpherson/s3gof3r";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "tdns-cli";
|
name = "tdns-cli";
|
||||||
version = "0.0.5";
|
version = "0.0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rotty";
|
owner = "rotty";
|
||||||
repo = name;
|
repo = name;
|
||||||
|
@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1kkw87c63nx5pqsxcwn6iw27k02j9ls21zyhb5dvf0zaqd9sz7ad";
|
sha256 = "1kkw87c63nx5pqsxcwn6iw27k02j9ls21zyhb5dvf0zaqd9sz7ad";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1wybvm9qckx9cd656gx9zrbszmaj66ihh2kk6qqdb6maixcq5k0x";
|
cargoSha256 = "1wybvm9qckx9cd656gx9zrbszmaj66ihh2kk6qqdb6maixcq5k0x";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, fetchFromGitHub, buildGoPackage }:
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "govc";
|
pname = "govc";
|
||||||
version = "0.23.1";
|
version = "0.23.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user