about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/anup/default.nix
blob: 9c99c84eabee5b0e71ea16cf758f4e92edee0fdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, rustPlatform, fetchFromGitHub, sqlite, xdg-utils}:

rustPlatform.buildRustPackage rec {
  pname = "anup";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "Acizza";
    repo = "anup";
    rev = version;
    sha256 = "sha256-4pXF4p4K8+YihVB9NdgT6bOidmQEgWXUbcbvgXJ0IDA=";
  };

  buildInputs = [
    sqlite
    xdg-utils
  ];

  cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";

  meta = with lib; {
    homepage = "https://github.com/Acizza/anup";
    description = "An anime tracker for AniList featuring a TUI";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ natto1784 ];
  };
}