summaryrefslogtreecommitdiff
path: root/pkgs/applications/audio/lastwatch/default.nix
blob: 0e4e1a5a8a38b715b2893451b1226f8e4507b608 (about) (plain)
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
{ stdenv, fetchgit, python2Packages }:

python2Packages.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 = "0nlng3595j5jvnikk8i5hb915zak5zsmfn2306cc4gfcns9xzjwp";
  };

  propagatedBuildInputs = with python2Packages; [
    pyinotify
    pylast
    mutagen
  ];

  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;
  };
}