lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 44 lines 877 B view raw
1{ lib 2, stdenv 3, rustPlatform 4, fetchFromGitHub 5, pkg-config 6, openssl 7, darwin 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "udict"; 12 version = "0.1.2"; 13 14 src = fetchFromGitHub { 15 owner = "lsmb"; 16 repo = "udict"; 17 rev = "v${version}"; 18 hash = "sha256-vcyzMw2tWil4MULEkf25S6kXzqMG6JXIx6GibxxspkY="; 19 }; 20 21 cargoHash = "sha256-WI+dz7FKa3kot3gWr/JK/v6Ua/u2ioZ04Jwk8t9r1ls="; 22 23 cargoPatches = [ 24 ./0001-update-version-in-lock-file.patch 25 ]; 26 27 nativeBuildInputs = [ 28 pkg-config 29 ]; 30 31 buildInputs = [ 32 openssl 33 ] ++ lib.optionals stdenv.isDarwin [ 34 darwin.apple_sdk.frameworks.CoreFoundation 35 darwin.apple_sdk.frameworks.Security 36 ]; 37 38 meta = with lib; { 39 description = "Urban Dictionary CLI - written in Rust"; 40 homepage = "https://github.com/lsmb/udict"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ ]; 43 }; 44}