about summary refs log tree commit diff
path: root/pkgs/servers/syncstorage-rs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/syncstorage-rs/default.nix')
-rw-r--r--pkgs/servers/syncstorage-rs/default.nix67
1 files changed, 0 insertions, 67 deletions
diff --git a/pkgs/servers/syncstorage-rs/default.nix b/pkgs/servers/syncstorage-rs/default.nix
deleted file mode 100644
index 96b1945df51f..000000000000
--- a/pkgs/servers/syncstorage-rs/default.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-{ fetchFromGitHub
-, rustPlatform
-, pkg-config
-, python3
-, cmake
-, libmysqlclient
-, makeBinaryWrapper
-, lib
-}:
-
-let
-  pyFxADeps = python3.withPackages (p: [
-    p.setuptools # imports pkg_resources
-    # remainder taken from requirements.txt
-    p.pyfxa
-    p.tokenlib
-    p.cryptography
-  ]);
-in
-
-rustPlatform.buildRustPackage rec {
-  pname = "syncstorage-rs";
-  version = "0.14.1";
-
-  src = fetchFromGitHub {
-    owner = "mozilla-services";
-    repo = pname;
-    rev = "refs/tags/${version}";
-    hash = "sha256-7lIFHK0XSOtfDEy6N9jcPGOd5Por5i1CBdDZQBiHm8c=";
-  };
-
-  nativeBuildInputs = [
-    cmake
-    makeBinaryWrapper
-    pkg-config
-    python3
-  ];
-
-  buildInputs = [
-    libmysqlclient
-  ];
-
-  preFixup = ''
-    wrapProgram $out/bin/syncserver \
-      --prefix PATH : ${lib.makeBinPath [ pyFxADeps ]}
-  '';
-
-  cargoLock = {
-    lockFile = ./Cargo.lock;
-    outputHashes = {
-      "deadpool-0.5.2" = "sha256-V3v03t8XWA6rA8RaNunq2kh2U+6Lc2C2moKdaF2bmEc=";
-    };
-  };
-
-  # almost all tests need a DB to test against
-  doCheck = false;
-
-  meta = {
-    description = "Mozilla Sync Storage built with Rust";
-    homepage = "https://github.com/mozilla-services/syncstorage-rs";
-    changelog = "https://github.com/mozilla-services/syncstorage-rs/releases/tag/${version}";
-    license = lib.licenses.mpl20;
-    maintainers = with lib.maintainers; [ pennae ];
-    platforms = lib.platforms.linux;
-    mainProgram = "syncserver";
-  };
-}