forked from mirrors/nixpkgs
gtklick: init at 0.6.4
This commit is contained in:
parent
d445ee9f37
commit
5c3a84fc89
35
pkgs/applications/audio/gtklick/default.nix
Normal file
35
pkgs/applications/audio/gtklick/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchurl, pythonPackages, gettext, klick}:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "gtklick-${version}";
|
||||
namePrefix = "";
|
||||
version = "0.6.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://das.nasophon.de/download/${name}.tar.gz";
|
||||
sha256 = "7799d884126ccc818678aed79d58057f8cf3528e9f1be771c3fa5b694d9d0137";
|
||||
};
|
||||
|
||||
pythonPath = with pythonPackages; [
|
||||
pyliblo
|
||||
pyGtkGlade
|
||||
];
|
||||
|
||||
buildInputs = [ gettext ];
|
||||
|
||||
propagatedBuildInputs = [ klick ];
|
||||
|
||||
# wrapPythonPrograms breaks gtklick in the postFixup phase.
|
||||
# To fix it, apply wrapPythonPrograms and then clean up the wrapped file.
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
|
||||
sed -i "/import sys; sys.argv\[0\] = 'gtklick'/d" $out/bin/.gtklick-wrapped
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://das.nasophon.de/gtklick/";
|
||||
description = "Simple metronome with an easy-to-use GTK interface";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
|
@ -1789,6 +1789,8 @@ let
|
|||
|
||||
gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
|
||||
|
||||
gtklick = callPackage ../applications/audio/gtklick {};
|
||||
|
||||
gtdialog = callPackage ../development/libraries/gtdialog {};
|
||||
|
||||
gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { };
|
||||
|
|
Loading…
Reference in a new issue