nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 rustPlatform,
5 fetchFromGitHub,
6 sqlite,
7 xdg-utils,
8}:
9
10rustPlatform.buildRustPackage rec {
11 pname = "anup";
12 version = "0.4.0";
13
14 src = fetchFromGitHub {
15 owner = "Acizza";
16 repo = "anup";
17 tag = version;
18 hash = "sha256-4pXF4p4K8+YihVB9NdgT6bOidmQEgWXUbcbvgXJ0IDA=";
19 };
20
21 cargoHash = "sha256-925R5pG514JiA7iUegFkxrDpA3o7T/Ct4Igqqcdo3rw=";
22
23 buildInputs = [
24 sqlite
25 xdg-utils
26 ];
27
28 meta = {
29 homepage = "https://github.com/Acizza/anup";
30 description = "Anime tracker for AniList featuring a TUI";
31 license = lib.licenses.agpl3Only;
32 maintainers = with lib.maintainers; [ natto1784 ];
33 mainProgram = "anup";
34 };
35}