12 pyFxADeps = python3.withPackages (p: [
13 p.setuptools # imports pkg_resources
14 # remainder taken from requirements.txt
21 rustPlatform.buildRustPackage rec {
22 pname = "syncstorage-rs";
25 src = fetchFromGitHub {
26 owner = "mozilla-services";
28 rev = "refs/tags/${version}";
29 hash = "sha256-8MxGrE8BaqSN0vPORKupKQuqHiv2vcqQhTX+SnmWFoM=";
44 wrapProgram $out/bin/syncserver \
45 --prefix PATH : ${lib.makeBinPath [ pyFxADeps ]}
49 lockFile = ./Cargo.lock;
51 "deadpool-0.7.0" = "sha256-yQwn45EuzmPBwuT+iLJ/LLWAkBkW2vF+GLswdbpFVAY=";
55 # almost all tests need a DB to test against
59 description = "Mozilla Sync Storage built with Rust";
60 homepage = "https://github.com/mozilla-services/syncstorage-rs";
61 changelog = "https://github.com/mozilla-services/syncstorage-rs/releases/tag/${version}";
62 license = lib.licenses.mpl20;
64 platforms = lib.platforms.linux;
65 mainProgram = "syncserver";