1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

pot: 2.6.6 -> 2.7.0

Update pkgs/applications/misc/pot/default.nix

Co-authored-by: nix-julia <149073815+nix-julia@users.noreply.github.com>
This commit is contained in:
linsui 2023-11-19 19:06:46 +08:00 committed by linsui
parent a3a38f810b
commit cc522281d2
2 changed files with 179 additions and 5 deletions

View file

@ -629,6 +629,15 @@ dependencies = [
"winapi",
]
[[package]]
name = "cmake"
version = "0.1.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130"
dependencies = [
"cc",
]
[[package]]
name = "cocoa"
version = "0.24.1"
@ -697,6 +706,12 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "const-cstr"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed3d0b5ff30645a68f35ece8cea4556ca14ef8a1651455f789a099a0513532a6"
[[package]]
name = "const-oid"
version = "0.9.5"
@ -790,6 +805,18 @@ dependencies = [
"libc",
]
[[package]]
name = "core-text"
version = "19.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99d74ada66e07c1cefa18f8abfba765b486f250de2e4a999e5727fc0dd4b4a25"
dependencies = [
"core-foundation",
"core-graphics 0.22.3",
"foreign-types 0.3.2",
"libc",
]
[[package]]
name = "cpufeatures"
version = "0.2.9"
@ -1137,6 +1164,15 @@ dependencies = [
"xcb",
]
[[package]]
name = "dlib"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
dependencies = [
"libloading 0.8.1",
]
[[package]]
name = "dotenvy"
version = "0.15.7"
@ -1170,6 +1206,18 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
[[package]]
name = "dwrote"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "439a1c2ba5611ad3ed731280541d36d2e9c4ac5e7fb818a27b604bdc5a6aa65b"
dependencies = [
"lazy_static",
"libc",
"winapi",
"wio",
]
[[package]]
name = "either"
version = "1.9.0"
@ -1388,6 +1436,12 @@ dependencies = [
"miniz_oxide",
]
[[package]]
name = "float-ord"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7bad48618fdb549078c333a7a8528acb57af271d0433bdecd523eb620628364e"
[[package]]
name = "flume"
version = "0.11.0"
@ -1405,6 +1459,31 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "font-kit"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21fe28504d371085fae9ac7a3450f0b289ab71e07c8e57baa3fb68b9e57d6ce5"
dependencies = [
"bitflags 1.3.2",
"byteorder",
"core-foundation",
"core-graphics 0.22.3",
"core-text",
"dirs-next",
"dwrote",
"float-ord",
"freetype",
"lazy_static",
"libc",
"log",
"pathfinder_geometry",
"pathfinder_simd",
"walkdir",
"winapi",
"yeslogic-fontconfig-sys",
]
[[package]]
name = "foreign-types"
version = "0.3.2"
@ -1466,6 +1545,27 @@ dependencies = [
"num",
]
[[package]]
name = "freetype"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bee38378a9e3db1cc693b4f88d166ae375338a0ff75cb8263e1c601d51f35dc6"
dependencies = [
"freetype-sys",
"libc",
]
[[package]]
name = "freetype-sys"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a37d4011c0cc628dfa766fcc195454f4b068d7afdc2adfd28861191d866e731a"
dependencies = [
"cmake",
"libc",
"pkg-config",
]
[[package]]
name = "fsevent-sys"
version = "4.1.0"
@ -2595,6 +2695,7 @@ dependencies = [
"include_dir",
"itertools 0.10.5",
"lingua-arabic-language-model",
"lingua-bokmal-language-model",
"lingua-chinese-language-model",
"lingua-english-language-model",
"lingua-french-language-model",
@ -2606,6 +2707,8 @@ dependencies = [
"lingua-korean-language-model",
"lingua-malay-language-model",
"lingua-mongolian-language-model",
"lingua-nynorsk-language-model",
"lingua-persian-language-model",
"lingua-portuguese-language-model",
"lingua-russian-language-model",
"lingua-spanish-language-model",
@ -2633,6 +2736,15 @@ dependencies = [
"include_dir",
]
[[package]]
name = "lingua-bokmal-language-model"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a9215ee6bbe6d37222dc5dbd9d1577389810011cb8afbef6155e71a11fa5cb9"
dependencies = [
"include_dir",
]
[[package]]
name = "lingua-chinese-language-model"
version = "1.1.0"
@ -2732,6 +2844,24 @@ dependencies = [
"include_dir",
]
[[package]]
name = "lingua-nynorsk-language-model"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db00b13561df244acb76927677200ff399b02d8c9b160d25a38320ef3361cfa9"
dependencies = [
"include_dir",
]
[[package]]
name = "lingua-persian-language-model"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "043ba9b4ac7df99acaa1cd9f5925d6fc9b0fe850d3891bbeb91b27ed94f266c4"
dependencies = [
"include_dir",
]
[[package]]
name = "lingua-portuguese-language-model"
version = "1.1.0"
@ -3532,6 +3662,25 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
[[package]]
name = "pathfinder_geometry"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3"
dependencies = [
"log",
"pathfinder_simd",
]
[[package]]
name = "pathfinder_simd"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0444332826c70dc47be74a7c6a5fc44e23a7905ad6858d4162b658320455ef93"
dependencies = [
"rustc_version",
]
[[package]]
name = "pbkdf2"
version = "0.11.0"
@ -3777,6 +3926,7 @@ dependencies = [
"arboard",
"base64 0.21.4",
"dirs 5.0.1",
"font-kit",
"image",
"libloader",
"libloading 0.8.1",
@ -4331,12 +4481,13 @@ dependencies = [
[[package]]
name = "selection"
version = "1.0.0"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09de39c8f10d37a7b9c2a9cb224dbe4535525cbe17ccf37c21419123ab54a197"
checksum = "ae9d5f752403a8ef95d55c47c297541c3c12e90bf8bdaf82287527ff9f373cb6"
dependencies = [
"arboard",
"enigo",
"log",
"windows 0.44.0",
"wl-clipboard-rs",
"x11-clipboard",
@ -6617,6 +6768,15 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "wio"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d129932f4644ac2396cb456385cbf9e63b5b30c6e8dc4820bdca4eb082037a5"
dependencies = [
"winapi",
]
[[package]]
name = "wl-clipboard-rs"
version = "0.7.0"
@ -6761,6 +6921,18 @@ version = "0.8.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fcb9cbac069e033553e8bb871be2fbdffcab578eb25bd0f7c508cedc6dcd75a"
[[package]]
name = "yeslogic-fontconfig-sys"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2bbd69036d397ebbff671b1b8e4d918610c181c5a16073b96f984a38d08c386"
dependencies = [
"const-cstr",
"dlib",
"once_cell",
"pkg-config",
]
[[package]]
name = "zbus"
version = "3.14.1"

View file

@ -19,17 +19,18 @@
, libsoup
, openssl
, xdotool
, cacert
}:
stdenv.mkDerivation rec {
pname = "pot";
version = "2.6.6";
version = "2.7.0";
src = fetchFromGitHub {
owner = "pot-app";
repo = "pot-desktop";
rev = version;
hash = "sha256-ZpN+SgBq2vA2p4MjrT07j22VB67FdiXIIl9puGiGJA4=";
hash = "sha256-ODqMbyL6Zda/cY5Lgijaj9Pr5aozQDgzHlS89q4rA4w=";
};
sourceRoot = "${src.name}/src-tauri";
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
jq
moreutils
nodePackages.pnpm
cacert
];
installPhase = ''
@ -66,7 +68,7 @@ stdenv.mkDerivation rec {
dontFixup = true;
outputHashMode = "recursive";
outputHash = "sha256-PqdwoGPsu1j4sDTvBAguDhB2v1yaNWybluLiN37SDa4=";
outputHash = "sha256-xl1dSrJ7o0Xn4QB2tRBB6U8gUItltxTE+hyEJ1GIw1k=";
};
cargoDeps = rustPlatform.importCargoLock {