Merge pull request #94281 from zowoq/go-rust-package

This commit is contained in:
Jörg Thalheim 2020-07-31 05:45:22 +01:00 committed by GitHub
commit b3ccfa2698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 23 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, buildGoPackage, git, which }:
buildGoPackage rec {
pname = "quorum";
version = "2.5.0";

View file

@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
};
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
meta = with stdenv.lib; {
@ -21,4 +21,3 @@ rustPlatform.buildRustPackage rec {
platforms = platforms.all;
};
}

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "go-repo-root";
version = "20140911-${stdenv.lib.strings.substring 0 7 rev}";
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
goPackagePath = "github.com/cstrahan/go-repo-root";
src = fetchgit {

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "lint";
version = "20181026-${stdenv.lib.strings.substring 0 7 rev}";
rev = "c67002cb31c3a748b7688c27f20d8358b4193582";
goPackagePath = "golang.org/x/lint";
excludedPackages = "testdata";

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "gotags";
version = "20150803-${stdenv.lib.strings.substring 0 7 rev}";
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
goPackagePath = "github.com/jstemmer/gotags";
src = fetchgit {

View file

@ -14,7 +14,7 @@ buildGoPackage rec {
};
goDeps = ./deps.nix;
meta = {
description = "A pair programming tool and library written in Golang";
homepage = "https://github.com/jeffail/leaps/";
@ -23,4 +23,3 @@ buildGoPackage rec {
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
configurePhase = ''

View file

@ -22,4 +22,4 @@ buildGoPackage rec {
maintainers = with maintainers; [ maintainers."1000101" ];
platforms = platforms.all;
};
}
}

View file

@ -19,7 +19,7 @@ buildGoPackage rec {
-ldflags=
-X=main.Version=${version}
'';
meta = {
homepage = "https://cayley.io/";
description = "A graph database inspired by Freebase and Knowledge Graph";

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "mesos-dns";
version = "0.1.2";
rev = "v${version}";
goPackagePath = "github.com/mesosphere/mesos-dns";
# Avoid including the benchmarking test helper in the output:

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "skydns";
version = "2.5.3a";
rev = version;
goPackagePath = "github.com/skynetservices/skydns";
src = fetchFromGitHub {

View file

@ -19,4 +19,4 @@ rustPlatform.buildRustPackage rec {
license = licenses.agpl3;
maintainers = with maintainers; [ filalex77 ];
};
}
}

View file

@ -24,4 +24,4 @@ buildGoPackage rec {
maintainers = with maintainers; [ maintainers."1000101" ];
platforms = platforms.all;
};
}
}

View file

@ -6,7 +6,7 @@ buildGoPackage rec {
pname = "gawp";
version = "20160121-${stdenv.lib.strings.substring 0 7 rev}";
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
goPackagePath = "github.com/martingallagher/gawp";
src = fetchgit {

View file

@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
# 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.
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,

View file

@ -23,5 +23,5 @@ buildGoPackage rec {
maintainers = with maintainers; [ swflint ];
platforms = platforms.unix;
};
}

View file

@ -10,7 +10,7 @@ buildGoPackage rec {
pname = "upower-notify";
version = "20160310-${stdenv.lib.strings.substring 0 7 rev}";
rev = "14c581e683a7e90ec9fa6d409413c16599a5323c";
goPackagePath = "github.com/omeid/upower-notify";
src = fetchgit {

View file

@ -4,7 +4,7 @@ buildGoPackage rec {
pname = "s3gof3r";
version = "20151109-${stdenv.lib.strings.substring 0 7 rev}";
rev = "31603a0dc94aefb822bfe2ceea75a6be6013b445";
goPackagePath = "github.com/rlmcpherson/s3gof3r";
src = fetchgit {

View file

@ -3,7 +3,7 @@
rustPlatform.buildRustPackage rec {
name = "tdns-cli";
version = "0.0.5";
src = fetchFromGitHub {
owner = "rotty";
repo = name;

View file

@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "1kkw87c63nx5pqsxcwn6iw27k02j9ls21zyhb5dvf0zaqd9sz7ad";
};
cargoSha256 = "1wybvm9qckx9cd656gx9zrbszmaj66ihh2kk6qqdb6maixcq5k0x";
meta = with lib; {

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "govc";
version = "0.23.1";