2012-09-05 03:56:24 +02:00
|
|
|
{ stdenv, fetchgit, pythonPackages }:
|
|
|
|
|
2016-02-19 13:12:11 +01:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2012-09-05 03:56:24 +02:00
|
|
|
name = "lastwatch-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/aszlig/LastWatch.git";
|
|
|
|
rev = "refs/tags/v${version}";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "0nlng3595j5jvnikk8i5hb915zak5zsmfn2306cc4gfcns9xzjwp";
|
2012-09-05 03:56:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2014-08-10 11:11:11 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-05 03:56:24 +02:00
|
|
|
};
|
|
|
|
}
|