summary refs log tree commit diff
path: root/pkgs/applications/audio/lastwatch/default.nix
blob: 168a67a53f0003797bbbd791810eb03b61c20812 (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
28
{ stdenv, fetchgit, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  name = "lastwatch-${version}";
  namePrefix = "";
  version = "0.4.1";

  src = fetchgit {
    url = "git://github.com/aszlig/LastWatch.git";
    rev = "refs/tags/v${version}";
    sha256 = "c43f0fd87e9f3daafc7e8676daf2e89c8e21fbabc278eb1455e28d2997587a92";
  };

  pythonPath = [
    pythonPackages.pyinotify
    pythonPackages.pylast
    pythonPackages.mutagen
  ];

  propagatedBuildInputs = pythonPath;

  meta = {
    homepage = "https://github.com/aszlig/LastWatch";
    description = "An inotify-based last.fm audio scrobbler";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.linux;
  };
}