2012-09-05 02:56:24 +01:00
|
|
|
{ stdenv, fetchgit, pythonPackages }:
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2012-09-05 02:56:24 +01: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 12:26:44 +01:00
|
|
|
sha256 = "0nlng3595j5jvnikk8i5hb915zak5zsmfn2306cc4gfcns9xzjwp";
|
2012-09-05 02:56:24 +01: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 10:11:11 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-05 02:56:24 +01:00
|
|
|
};
|
|
|
|
}
|