2016-10-17 14:56:49 +01:00
|
|
|
{ stdenv, fetchgit, python2Packages }:
|
2012-09-05 02:56:24 +01:00
|
|
|
|
2016-10-17 14:56:49 +01:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "lastwatch";
|
2012-09-05 02:56:24 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-10-17 14:56:49 +01:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
|
|
|
pyinotify
|
|
|
|
pylast
|
|
|
|
mutagen
|
2012-09-05 02:56:24 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/aszlig/LastWatch;
|
2012-09-05 02:56:24 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|