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