a package for the rsky-pds
rsky-pds.nix
52 lines 1.1 kB view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 openssl, 6 libpq, 7 pkg-config, 8}: 9rustPlatform.buildRustPackage { 10 pname = "rsky-pds"; 11 version = "0-unstable-2025-08-04"; 12 13 src = fetchFromGitHub { 14 owner = "blacksky-algorithms"; 15 repo = "rsky"; 16 rev = "6a8e7dab7e424b42e946e40831166176520837d4"; 17 hash = "sha256-iqSaej2ibpmTR4YKq0tM9mLHtWK3l5GMzGOrN64MKZA="; 18 }; 19 20 cargoHash = "sha256-m5MtoJiJANAzpCOMNgrNMu7YURNJpV7N/ab8nNXFe58="; 21 22 cargoBuildFlags = [ 23 "--package" 24 "rsky-pds" 25 ]; 26 27 cargoTestFlags = [ 28 "--package" 29 "rsky-pds" 30 31 # skip tests that depend on docker running 32 "-- --skip=test_create_invite_code_and_account" 33 "--skip=test_create_session" 34 "--skip=test_robots_txt" 35 "--skip=test_index" 36 "--skip=test_create_invite_code" 37 ]; 38 39 buildInputs = [ 40 openssl 41 libpq 42 ]; 43 nativeBuildInputs = [ pkg-config ]; 44 45 meta = { 46 homepage = "https://blackskyweb.xyz"; 47 description = "Rust implmentation of an atproto pds"; 48 license = lib.licenses.asl20; 49 maintainers = with lib.maintainers; [ isabelroses ]; 50 mainProgram = "rsky-pds"; 51 }; 52}