+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
eea4f7c
main
1{ lib , rustPlatform , fetchFromGitHub , pkg-config , libgit2 , openssl , zlib , stdenv , darwin } : 2rustPlatform . buildRustPackage rec { 3pname = "cargotom" ; 4version = "0.15.2" ; 5 6src = fetchFromGitHub { 7owner = "frederik-uni" ; 8repo = "cargotom" ; 9rev = version ; 10hash = "sha256-d8YLQHlvbSqsNPEsWnfxNo+yp6lLRELY/Or3Y/HEA/o=" ; 11}; 12 13cargoLock = { 14lockFile = ./Cargo.lock ; 15outputHashes = { 16"macros-0.2.0" = "sha256-GrV3KA+Rk62GPPeze/yocnWXRH1rTyK57NSBFFWAJ/s=" ; 17"taplo-0.13.2" = "sha256-tNo8RsT2V6TPkJM2xEe+8yqYCdC2AOdJY/AXtD0J2bM=" ; 18}; 19}; 20 21nativeBuildInputs = [ 22pkg-config 23]; 24 25buildInputs = [ 26libgit2 27openssl 28zlib 29] ++ lib . optionals stdenv . hostPlatform . isDarwin [ 30darwin . apple_sdk . frameworks . CoreServices 31darwin . apple_sdk . frameworks . Security 32darwin . apple_sdk . frameworks . SystemConfiguration 33]; 34 35env = { 36OPENSSL_NO_VENDOR = true ; 37}; 38 39meta = { 40description = "Language server for Cargo.toml" ; 41homepage = "https://github.com/frederik-uni/cargotom" ; 42broken = true ; 43}; 44}