about summary refs log tree commit diff
path: root/packages/trackma/default.nix
blob: 1248ac4f673a52b6820081ff77aca9f820092767 (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
{ pkgs, lib }:

pkgs.python39.pkgs.buildPythonApplication rec {
  pname = "trackma";
  version = "0.8.4";

  buildInputs = with pkgs; [ gobject-introspection gtk3 gnome.adwaita-icon-theme ];
  nativeBuildInputs = with pkgs; [ wrapGAppsHook ];
  propagatedBuildInputs = with pkgs.python39.pkgs; [ setuptools pygobject3 pycairo pillow ];

  #bug with fetchFromGithub?
  src = pkgs.fetchgit {
    url = "https://github.com/z411/${pname}.git";
    rev = "v"+version;
    sha256 = "sha256-OoPnOqq2havXc726nXpvoO00BEnjauw8zdXYDltBbsg=";
  };

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/z411/${pname}";
    description = "Trackma aims to be a lightweight and simple but feature-rich program for Unix based systems for fetching, updating and using data from personal lists hosted in several media tracking websites.";
    license = licenses.gpl3;
    maintainers = [ ];
    platforms = lib.platforms.linux;
  };
}