2016-10-17 13:56:49 +00:00
|
|
|
{ stdenv, fetchgit, python2Packages }:
|
2012-09-05 01:56:24 +00:00
|
|
|
|
2016-10-17 13:56:49 +00:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2012-09-05 01:56:24 +00: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 11:26:44 +00:00
|
|
|
sha256 = "0nlng3595j5jvnikk8i5hb915zak5zsmfn2306cc4gfcns9xzjwp";
|
2012-09-05 01:56:24 +00:00
|
|
|
};
|
|
|
|
|
2016-10-17 13:56:49 +00:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
|
|
|
pyinotify
|
|
|
|
pylast
|
|
|
|
mutagen
|
2012-09-05 01:56:24 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/aszlig/LastWatch";
|
|
|
|
description = "An inotify-based last.fm audio scrobbler";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-08-10 09:11:11 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-05 01:56:24 +00:00
|
|
|
};
|
|
|
|
}
|