mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
lastwatch: New package, version 0.4.1.
This is actually one of my own programs I've written some years ago, but as I'm still using it on several systems, I'm adding it to nixpkgs. As it is an (at the moment, fanotify looks like it's more suitable) inotify based scrobbler, it of course requires the inotify feature to be enabled in the kernel. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
9d71bb96c0
commit
3ed91754e2
29
pkgs/applications/audio/lastwatch/default.nix
Normal file
29
pkgs/applications/audio/lastwatch/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchgit, pythonPackages }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "lastwatch-${version}";
|
||||
namePrefix = "";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/aszlig/LastWatch.git";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "c43f0fd87e9f3daafc7e8676daf2e89c8e21fbabc278eb1455e28d2997587a92";
|
||||
};
|
||||
|
||||
pythonPath = [
|
||||
pythonPackages.pyinotify
|
||||
pythonPackages.pylast
|
||||
pythonPackages.mutagen
|
||||
];
|
||||
|
||||
propagatedBuildInputs = pythonPath;
|
||||
|
||||
installCommand = "python setup.py install --prefix=$out";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/aszlig/LastWatch";
|
||||
description = "An inotify-based last.fm audio scrobbler";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
@ -7224,6 +7224,8 @@ let
|
||||
fftw = fftwSinglePrec;
|
||||
};
|
||||
|
||||
lastwatch = callPackage ../applications/audio/lastwatch { };
|
||||
|
||||
lci = callPackage ../applications/science/logic/lci {};
|
||||
|
||||
ldcpp = callPackage ../applications/networking/p2p/ldcpp {
|
||||
|
Loading…
Reference in New Issue
Block a user