mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #12342 from DavidCalvo/gtklick
gtklick: init at 0.6.4
This commit is contained in:
commit
ac480aee45
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;
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/applications/audio/klick/default.nix
Normal file
28
pkgs/applications/audio/klick/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchurl, scons, pkgconfig
|
||||||
|
, libsamplerate, libsndfile, liblo, libjack2, boost }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "klick-${version}";
|
||||||
|
version = "0.12.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://das.nasophon.de/download/${name}.tar.gz";
|
||||||
|
sha256 = "1289533c0849b1b66463bf27f7ce5f71736b655cfb7672ef884c7e6eb957ac42";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ scons pkgconfig libsamplerate libsndfile liblo libjack2 boost ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
scons PREFIX=$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = "scons install";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://das.nasophon.de/klick/";
|
||||||
|
description = "Advanced command-line metronome for JACK";
|
||||||
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1789,6 +1789,8 @@ let
|
|||||||
|
|
||||||
gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
|
gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
|
||||||
|
|
||||||
|
gtklick = callPackage ../applications/audio/gtklick {};
|
||||||
|
|
||||||
gtdialog = callPackage ../development/libraries/gtdialog {};
|
gtdialog = callPackage ../development/libraries/gtdialog {};
|
||||||
|
|
||||||
gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { };
|
gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { };
|
||||||
@ -2031,6 +2033,8 @@ let
|
|||||||
|
|
||||||
kismet = callPackage ../applications/networking/sniffers/kismet { };
|
kismet = callPackage ../applications/networking/sniffers/kismet { };
|
||||||
|
|
||||||
|
klick = callPackage ../applications/audio/klick { };
|
||||||
|
|
||||||
knockknock = callPackage ../tools/security/knockknock { };
|
knockknock = callPackage ../tools/security/knockknock { };
|
||||||
|
|
||||||
kpcli = callPackage ../tools/security/kpcli { };
|
kpcli = callPackage ../tools/security/kpcli { };
|
||||||
|
@ -15944,6 +15944,25 @@ in modules // {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
pyliblo = buildPythonPackage rec {
|
||||||
|
name = "pyliblo-${version}";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "http://das.nasophon.de/download/${name}.tar.gz";
|
||||||
|
sha256 = "382ee7360aa00aeebf1b955eef65f8491366657a626254574c647521b36e0eb0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self ; [ pkgs.liblo ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://das.nasophon.de/pyliblo/;
|
||||||
|
description = "Python wrapper for the liblo OSC library";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pymacs = buildPythonPackage rec {
|
pymacs = buildPythonPackage rec {
|
||||||
version = "0.25";
|
version = "0.25";
|
||||||
|
Loading…
Reference in New Issue
Block a user