12 stdenv.mkDerivation (finalAttrs: {
16 src = fetchFromGitHub {
18 repo = "myanimelist-cli";
19 rev = "refs/tags/v${finalAttrs.version}";
20 hash = "sha256-EmdkPpYEUIk9hr6rbnixjvznKSEnTCSMZz/17BfHGCk=";
32 ] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [
43 # Based on the upstream PKGBUILD
44 mkdir -p $out/share/doc/${finalAttrs.pname}
46 cp $cmakeDir/README.md $out/share/doc/${finalAttrs.pname}
52 description = "Minimalistic command line interface for fetching user anime data from MyAnimeList";
54 Minimalistic command line interface for fetching user anime data from MyAnimeList.
56 You have to run this with the MYANIMELIST_CLIENT_ID environ variable set.
57 Where to get one: <https://myanimelist.net/apiconfig>.
58 Select the type `other`.
60 homepage = "https://github.com/jmakhack/myanimelist-cli";
61 changelog = "https://github.com/jmakhack/myanimelist-cli/releases/tag/v${finalAttrs.version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ pbsds ];
65 platforms = platforms.all;