diff options
author | Domen Kožar <domen@dev.si> | 2015-08-25 14:14:54 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-08-25 14:14:54 +0200 |
commit | e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c (patch) | |
tree | f0f4637a7357352ae45007b99e384bebf7176520 /pkgs/tools/misc | |
parent | 60a0bb7f66fd51a5b935ed50f8f39a34a5fc55cc (diff) | |
parent | c234f37b5995457e2a5b518648e6735612cb3c27 (diff) | |
download | nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar.gz nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar.bz2 nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar.lz nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar.xz nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.tar.zst nixlib-e4644a5b582703e6fa3b1c2e97a99e3bc3f7ce4c.zip |
Merge branch 'staging'
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/mongodb-tools/default.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/pkgs/tools/misc/mongodb-tools/default.nix b/pkgs/tools/misc/mongodb-tools/default.nix deleted file mode 100644 index 81e05a8790e5..000000000000 --- a/pkgs/tools/misc/mongodb-tools/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, goPackages, fetchurl, callPackage }: - -with goPackages; - -buildGoPackage rec { - version = "r3.1.2"; - name = "mongodb-tools"; - goPackagePath = "github.com/mongodb/mongo-tools"; - - src = fetchurl { - name = "${name}.tar.gz"; - url = "https://github.com/mongodb/mongo-tools/archive/${version}.tar.gz"; - sha256 = "1dag8ar95jlfk6rm99y4p3dymcy2s2qnwd9jwqhw9fxr110mgf5s"; - }; - - buildInputs = [ gopass go-flags crypto mgo openssl spacelog - oglematchers goconvey tomb ]; - - subPackages = [ "bsondump/main" "mongostat/main" "mongofiles/main" - "mongoexport/main" "mongoimport/main" "mongorestore/main" - "mongodump/main" "mongotop/main" "mongooplog/main" ]; - - buildPhase = '' - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do - echo Building $i - go build -o go/bin/$i go/src/${goPackagePath}/$i/main/$i.go - done - ''; - - dontInstallSrc = true; - - meta = with lib; { - description = "Tools for MongoDB"; - homepage = https://github.com/mongodb/mongo-tools; - license = licenses.asl20; - maintainers = with maintainers; [ mschristiansen ]; - platforms = platforms.linux; - }; -} |