2016-10-17 15:56:49 +02:00
|
|
|
{ stdenv, fetchgit, python2Packages }:
|
2012-09-05 03:56:24 +02:00
|
|
|
|
2016-10-17 15:56:49 +02:00
|
|
|
python2Packages.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
|
|
|
};
|
|
|
|
|
2016-10-17 15:56:49 +02:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
|
|
|
pyinotify
|
|
|
|
pylast
|
|
|
|
mutagen
|
2012-09-05 03:56:24 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/aszlig/LastWatch;
|
2012-09-05 03:56:24 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|