diff options
author | pin <pin@pkgsrc.org> | 2021-05-17 07:47:42 +0000 |
---|---|---|
committer | pin <pin@pkgsrc.org> | 2021-05-17 07:47:42 +0000 |
commit | d837341227d5570de49c34675a89b046d2d2f591 (patch) | |
tree | 4d084020d4ba42ce1cf4eee5139657efe80b38ec /misc/deckster | |
parent | 7f55c31470a6a278a67a57d83bdade419881bded (diff) | |
download | pkgsrc-d837341227d5570de49c34675a89b046d2d2f591.tar.gz |
misc/deckster: import package
TUI to study flashcards in the terminal.
Spaced repetition in the terminal. Inspired by Anki and uses a modified SM2
algorithm.
Cards should be saved in TOML format.
Diffstat (limited to 'misc/deckster')
-rw-r--r-- | misc/deckster/DESCR | 6 | ||||
-rw-r--r-- | misc/deckster/Makefile | 24 | ||||
-rw-r--r-- | misc/deckster/PLIST | 2 | ||||
-rw-r--r-- | misc/deckster/cargo-depends.mk | 29 | ||||
-rw-r--r-- | misc/deckster/distinfo | 114 |
5 files changed, 175 insertions, 0 deletions
diff --git a/misc/deckster/DESCR b/misc/deckster/DESCR new file mode 100644 index 00000000000..cad5bdd0715 --- /dev/null +++ b/misc/deckster/DESCR @@ -0,0 +1,6 @@ +TUI to study flashcards in the terminal. + +Spaced repetition in the terminal. Inspired by Anki and uses a modified SM2 +algorithm. + +Cards should be saved in TOML format. diff --git a/misc/deckster/Makefile b/misc/deckster/Makefile new file mode 100644 index 00000000000..66fcf856997 --- /dev/null +++ b/misc/deckster/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2021/05/17 07:47:42 pin Exp $ + +DISTNAME= deckster-0.2.1 +CATEGORIES= misc +MASTER_SITES= https://gitlab.com/prince_bett/deckster/-/archive/v${PKGVERSION_NOREV}/ + +MAINTAINER= pin@NetBSD.org +HOMEPAGE= https://gitlab.com/prince_bett/deckster/ +COMMENT= TUI to study flashcards in the terminal +LICENSE= mit + +WRKSRC= ${WRKDIR}/deckster-v0.2.1-36735a7ca9698e48541da981ef5ccc8978fe9f58 + +.include "cargo-depends.mk" + +USE_LANGUAGES+= c + +INSTALLATION_DIRS= bin + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/target/release/deckster ${DESTDIR}${PREFIX}/bin + +.include "../../lang/rust/cargo.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/deckster/PLIST b/misc/deckster/PLIST new file mode 100644 index 00000000000..349b39f9b18 --- /dev/null +++ b/misc/deckster/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/17 07:47:42 pin Exp $ +bin/deckster diff --git a/misc/deckster/cargo-depends.mk b/misc/deckster/cargo-depends.mk new file mode 100644 index 00000000000..60ce22dd82a --- /dev/null +++ b/misc/deckster/cargo-depends.mk @@ -0,0 +1,29 @@ +# $NetBSD: cargo-depends.mk,v 1.1 2021/05/17 07:47:42 pin Exp $ + +CARGO_CRATE_DEPENDS+= autocfg-1.0.1 +CARGO_CRATE_DEPENDS+= bitflags-1.2.1 +CARGO_CRATE_DEPENDS+= cassowary-0.3.0 +CARGO_CRATE_DEPENDS+= chrono-0.4.19 +CARGO_CRATE_DEPENDS+= libc-0.2.81 +CARGO_CRATE_DEPENDS+= num-integer-0.1.44 +CARGO_CRATE_DEPENDS+= num-traits-0.2.14 +CARGO_CRATE_DEPENDS+= numtoa-0.1.0 +CARGO_CRATE_DEPENDS+= proc-macro2-1.0.24 +CARGO_CRATE_DEPENDS+= quote-1.0.8 +CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57 +CARGO_CRATE_DEPENDS+= redox_termios-0.1.1 +CARGO_CRATE_DEPENDS+= seahorse-1.1.1 +CARGO_CRATE_DEPENDS+= serde-1.0.118 +CARGO_CRATE_DEPENDS+= serde_derive-1.0.118 +CARGO_CRATE_DEPENDS+= syn-1.0.55 +CARGO_CRATE_DEPENDS+= termion-1.5.5 +CARGO_CRATE_DEPENDS+= time-0.1.44 +CARGO_CRATE_DEPENDS+= toml-0.5.8 +CARGO_CRATE_DEPENDS+= tui-0.13.0 +CARGO_CRATE_DEPENDS+= unicode-segmentation-1.7.1 +CARGO_CRATE_DEPENDS+= unicode-width-0.1.8 +CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1 +CARGO_CRATE_DEPENDS+= wasi-0.10.0+wasi-snapshot-preview1 +CARGO_CRATE_DEPENDS+= winapi-0.3.9 +CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0 +CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0 diff --git a/misc/deckster/distinfo b/misc/deckster/distinfo new file mode 100644 index 00000000000..e93edfecb57 --- /dev/null +++ b/misc/deckster/distinfo @@ -0,0 +1,114 @@ +$NetBSD: distinfo,v 1.1 2021/05/17 07:47:42 pin Exp $ + +SHA1 (autocfg-1.0.1.crate) = 32909de2e5ae5ba6c1730cdf0e361213e7e86e2d +RMD160 (autocfg-1.0.1.crate) = 8122557dfbad780c74329228c0fb9fc4ff46bd63 +SHA512 (autocfg-1.0.1.crate) = 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b +Size (autocfg-1.0.1.crate) = 12908 bytes +SHA1 (bitflags-1.2.1.crate) = b7d3a9b30a05e14231cb55271c6ffa45cc1279cd +RMD160 (bitflags-1.2.1.crate) = 186b1893055eb415978ca547b0775aaa617a00fd +SHA512 (bitflags-1.2.1.crate) = ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b +Size (bitflags-1.2.1.crate) = 16745 bytes +SHA1 (cassowary-0.3.0.crate) = 80969a0c6dabcc8f99f32619facbf5fa310d6b05 +RMD160 (cassowary-0.3.0.crate) = 8c09106f1acb40b0a96035126b81b696be304889 +SHA512 (cassowary-0.3.0.crate) = 0838c0b79ed31f0c514fe4ac82633976e34b0d6cb08616313cda0e00623514fc6498c6c308cfef54ea029f1fdbaafe2991ca8ac3c38437a113ac62e37f9397f8 +Size (cassowary-0.3.0.crate) = 22876 bytes +SHA1 (chrono-0.4.19.crate) = 952546f575691ba821719c94611feaa8138ac259 +RMD160 (chrono-0.4.19.crate) = ce48628eec0eee11665e5cee7452da8c1ebec795 +SHA512 (chrono-0.4.19.crate) = a119349bfc2243a249f1d18b1ae548a04b30fecb75913a56f26d1ff8c0eb53097a2674d9141e2094018191cbbc1620843fbddaf52999824e077c1157f0907980 +Size (chrono-0.4.19.crate) = 155663 bytes +SHA1 (deckster-0.2.1.tar.gz) = 8d0521ac4c3e8dcf23612d19ff271c802da08eed +RMD160 (deckster-0.2.1.tar.gz) = 1bbcfa62b56f2448ae52ec5bc6302851f801215c +SHA512 (deckster-0.2.1.tar.gz) = a2d8e2f6e384bae2726f1103bb6e1ba74c739e2149d3c4bf5cd32264128e499831ec4282c11678500ec2aace5f2cf8a4eec169e2b4e0faafd17f72386ff8c970 +Size (deckster-0.2.1.tar.gz) = 75652 bytes +SHA1 (libc-0.2.81.crate) = 8d6f5d89abfb190dd125cb1b5115a3a11b56fb69 +RMD160 (libc-0.2.81.crate) = fb89b9a4c7c2ae750bd27a473942f20602f5e09d +SHA512 (libc-0.2.81.crate) = 8e121e0dcbd8218e02c2c6536ef6398cd002a92406d433c39bf84576e9b881c5b8a66fee826da6a6189f44b825f3a9d959075eeb0501d7f604bf9cc1a8b8d437 +Size (libc-0.2.81.crate) = 513105 bytes +SHA1 (num-integer-0.1.44.crate) = 531b8667a612f7031f71dc61e097f8f87dfdfabc +RMD160 (num-integer-0.1.44.crate) = 9ba87db9deca056cd34c294879f24d0847a6b8f4 +SHA512 (num-integer-0.1.44.crate) = d07e27ede02a1d007373935fd91e57a26e0e84ae14bbe24be66763baae6850788bd64ad2598d2bde4f4fad6c8a4675c40bfe0927164b16b9b69de5e9a83d9771 +Size (num-integer-0.1.44.crate) = 22216 bytes +SHA1 (num-traits-0.2.14.crate) = 3d371b7b5aed56baba62fda8599dc959b5f7017a +RMD160 (num-traits-0.2.14.crate) = 8da7275c05ff3c746f360f7dc78b7edb3682af68 +SHA512 (num-traits-0.2.14.crate) = c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e +Size (num-traits-0.2.14.crate) = 45476 bytes +SHA1 (numtoa-0.1.0.crate) = 41727c969993410625f6331fd3ba29361ba752f2 +RMD160 (numtoa-0.1.0.crate) = bf875a5ec424de4cf2c4a437a27858fccc23a7ae +SHA512 (numtoa-0.1.0.crate) = 41b5c774048592c5867fba217c85d4ece4540e0f3ab0eea7dd1a6af340ba46dae42bbca62ea7fe3afdb258660f39a3d3082264c99dea67d3d1ae178d00a01354 +Size (numtoa-0.1.0.crate) = 8999 bytes +SHA1 (proc-macro2-1.0.24.crate) = ae29ed2553b03e041040c6d70b4a2aeb67bd6b65 +RMD160 (proc-macro2-1.0.24.crate) = 4075a25889c31b5592210c4d70ce3d874d40df0a +SHA512 (proc-macro2-1.0.24.crate) = c3d23a5136c55d734084ce1d76d54f237fc1003074af102c2ad96d851ac496ffc7513ddc505a68af4051c9d6de09725a0ecb6e76ebcdd77a1c056f8f9242c9be +Size (proc-macro2-1.0.24.crate) = 37716 bytes +SHA1 (quote-1.0.8.crate) = 596508aad7cd1ff0daeafcf352a05fb068397fda +RMD160 (quote-1.0.8.crate) = 180edc03392f441a12ab64c19748fec0e9368179 +SHA512 (quote-1.0.8.crate) = 448d06465d93d384bf31b0249fd143a92edc4b9be8bb3a8c1a86366241be6469c3874dac98acb3810d5177b106d7307c7d9e879f91cce2e278a319ef1935577f +Size (quote-1.0.8.crate) = 24997 bytes +SHA1 (redox_syscall-0.1.57.crate) = 7b7b26dca5b32f54c0ecb5578dae3fffe2f76eab +RMD160 (redox_syscall-0.1.57.crate) = 759f2cfa7e2a6b6402d35e565527727c7e134090 +SHA512 (redox_syscall-0.1.57.crate) = c6e187087060084b7173ed0d9d0e982e4259d4f76522112268c02ff20751382e3bc8e119da6153170f5c54bd5b9cb028910f2f85c1c842099205dccd44659184 +Size (redox_syscall-0.1.57.crate) = 17087 bytes +SHA1 (redox_termios-0.1.1.crate) = c077c0ef5380aa5b4054d0f403b1818a71e70bae +RMD160 (redox_termios-0.1.1.crate) = 4403f32fb5435279446c9b6acc54792d655d4f72 +SHA512 (redox_termios-0.1.1.crate) = 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981 +Size (redox_termios-0.1.1.crate) = 3227 bytes +SHA1 (seahorse-1.1.1.crate) = 8ff074ff6bea68928b6938b3a7ede48de2360cab +RMD160 (seahorse-1.1.1.crate) = 5dd14b75ea093fc44aca02a096db8292355bc773 +SHA512 (seahorse-1.1.1.crate) = 87a0c724cfccdfc694b2febba681063ad46c4ee7f3ab7003ce676d0b424f463ca3a63b1b266b30913dcfd4b75b4a8714e2a194cf947f5f0f4ed073863a89b721 +Size (seahorse-1.1.1.crate) = 13622 bytes +SHA1 (serde-1.0.118.crate) = 76c51a892d0dd2f58580850d6fc6a44e9a0e3083 +RMD160 (serde-1.0.118.crate) = 31178bf00e311815d9084dff3da45477618d1bc5 +SHA512 (serde-1.0.118.crate) = d3b316e721ce395fad656a598fed7e83b248a3dbd98a9eced98fdc337c8fd40f415356a0af6a0e5a104a592ad10e1265d47d94b10b343ce9475797b3a74306e4 +Size (serde-1.0.118.crate) = 74248 bytes +SHA1 (serde_derive-1.0.118.crate) = 198eff1609dee8669e93baae5e8e40ed2546ab33 +RMD160 (serde_derive-1.0.118.crate) = abbb8cd1a1d31f0ecd09bcaf898496ed1fcc9b17 +SHA512 (serde_derive-1.0.118.crate) = f0909822f73e900c8a0b791a30fc5cf5be0a79e6c455766a90d6cc314408b95f2b9d7e3ef99363860d615620968e217da304457d2d6e00f60da8ab8fd2db7115 +Size (serde_derive-1.0.118.crate) = 50589 bytes +SHA1 (syn-1.0.55.crate) = 9d388bf6669e33af136c0562fdcf05d7fe0fe2a5 +RMD160 (syn-1.0.55.crate) = cf4b2d6c42b5b16d32039748d3a1277d2c882159 +SHA512 (syn-1.0.55.crate) = 9c3e5087db4819141994470c912e5f4d09d22a8e7ea9179b575f9601ce78ed501cf76f8303237e519c17e8628764d5f547141f97cea88ce7daf4c2982b7c1399 +Size (syn-1.0.55.crate) = 229095 bytes +SHA1 (termion-1.5.5.crate) = cf8349d8465114a58062bacd170e68e7ef2f6107 +RMD160 (termion-1.5.5.crate) = 68dbdcaf20fa3123dff3eda8a180300498fa3f1e +SHA512 (termion-1.5.5.crate) = 4362678cba8cce41f8435d8184c80f94a0bb24055a7b7a922b15ba162f6dbe4143c37d6b9adb1ce226d160a96610f2827e5cba4a41c141f32b2c91265a1a25ad +Size (termion-1.5.5.crate) = 22783 bytes +SHA1 (time-0.1.44.crate) = 1e91633ae262c61a313c1695136d374cb292379d +RMD160 (time-0.1.44.crate) = 525d7156982b067f77906b7d2b4b6897f788ae81 +SHA512 (time-0.1.44.crate) = 736a38637be0193a06fa35d42b4873b04a0a35d84cd2af85b7f653a1b67b95078577134bb187b777730e73cce67f437b45ff5c72b8e3f1f8e2ed3420ea0324cf +Size (time-0.1.44.crate) = 28885 bytes +SHA1 (toml-0.5.8.crate) = 0e4f2343bfc0437824b622363562024edfabe227 +RMD160 (toml-0.5.8.crate) = 967a9767df50f8d36c56cacc0cfa3738ec47b666 +SHA512 (toml-0.5.8.crate) = 26b7901ee4b7cbb4cf8ea57d365a99ed05e0a76e73452e47d4bcb3b4eeb7bbd393c13eea9ea33dc13622942efcda39acdba9425b74b40c920c9f19673a1f2082 +Size (toml-0.5.8.crate) = 54219 bytes +SHA1 (tui-0.13.0.crate) = 2621fec3812f1ab1e878f4a3df8c2e3a01bf607f +RMD160 (tui-0.13.0.crate) = d5371dbd47b12fab2573bef0e60c1e843f9f782c +SHA512 (tui-0.13.0.crate) = 93e818c9819bbd5b144155c257b253e8e6050bd1fe844b5a8ab8800137e5f6f2ec6d23dd6c644c84f4987b45d5a1912934cbbd3ac2836c1345e312575fb55053 +Size (tui-0.13.0.crate) = 134742 bytes +SHA1 (unicode-segmentation-1.7.1.crate) = e3701f6a4ef99aa874f74c47756f7996af9033e7 +RMD160 (unicode-segmentation-1.7.1.crate) = 97569d1b0a24181809adccc3e515d894c36f8441 +SHA512 (unicode-segmentation-1.7.1.crate) = 183ca68d456a8d53e6f255129e8fd07b87d8da23b8f18187231d6fa70dac80e4069eb6c501d45155d9f0050b6bd713964e55f0e4b25a40546c4d245a17fc8dc6 +Size (unicode-segmentation-1.7.1.crate) = 93066 bytes +SHA1 (unicode-width-0.1.8.crate) = c5eec29c1b9d03c08b963b8fcbcf9e69ba6bdca3 +RMD160 (unicode-width-0.1.8.crate) = 920b0f2e5ffe2e65efd68ea35640b2b9720636f0 +SHA512 (unicode-width-0.1.8.crate) = 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0 +Size (unicode-width-0.1.8.crate) = 16732 bytes +SHA1 (unicode-xid-0.2.1.crate) = c9132224bdc93872dd5b4d8099f5318ba15f2dfd +RMD160 (unicode-xid-0.2.1.crate) = f22de16f57fe27fc9e88639f3a86310f8fd27ee7 +SHA512 (unicode-xid-0.2.1.crate) = 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2 +Size (unicode-xid-0.2.1.crate) = 14392 bytes +SHA1 (wasi-0.10.0+wasi-snapshot-preview1.crate) = 1e619deea4a6d2aa1edbd450060d149b9f4f8d3a +RMD160 (wasi-0.10.0+wasi-snapshot-preview1.crate) = 5f49eac8985ca1724c17c215ac5512a7421f7ac1 +SHA512 (wasi-0.10.0+wasi-snapshot-preview1.crate) = 88e2da617f50d9ebfb1e0c5857321fb86b5ee88ae8a8d199d3cc092e0f39688a2cb68503f7c6bb09dd6bc50a9a03597a1eb2e032150fbd0d0b8afa02ad771c88 +Size (wasi-0.10.0+wasi-snapshot-preview1.crate) = 26964 bytes +SHA1 (winapi-0.3.9.crate) = 25c427fe8e3df07658e2552d2585d2f167ba3125 +RMD160 (winapi-0.3.9.crate) = 37e72db32b20588d61821e9bc5e72fb31b1ed089 +SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 +Size (winapi-0.3.9.crate) = 1200382 bytes +SHA1 (winapi-i686-pc-windows-gnu-0.4.0.crate) = cf2bc857823de6008e6da350ad2c97c7be564322 +RMD160 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a7d1e9e7f940d2e376a1b6dede7f0a50ad191ab8 +SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 +Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes +SHA1 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = eadfdb146024d37b6887b5b9cb6a69f61473ed8a +RMD160 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 300417853d251d91cadb9650992a6aa98248619f +SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 +Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes |