nixpkgs/pkgs/applications/video/recordmydesktop/qt.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

37 lines
1 KiB
Nix

{ stdenv, lib, fetchsvn, recordmydesktop, autoreconfHook, pkgconfig
, glib, pythonPackages, qt4, jack2, xwininfo }:
let
binPath = lib.makeBinPath [ recordmydesktop jack2 xwininfo ];
in stdenv.mkDerivation rec {
pname = "qt-recordmydesktop";
version = "0.3.8-svn${recordmydesktop.rev}";
src = fetchsvn {
url = https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk/qt-recordmydesktop;
inherit (recordmydesktop) rev;
sha256 = "0vz7amrmz317sbx2cv2186d0r57as4l26xa9rpim5gbvzk20caqc";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib qt4 ] ++ (with pythonPackages; [
python wrapPython pyqt4
]);
pythonPath = with pythonPackages; [ pyqt4 ];
postInstall = ''
makeWrapperArgs="--prefix PATH : ${binPath}"
wrapPythonPrograms
'';
meta = with stdenv.lib; {
description = "GTK frontend for recordmydesktop";
homepage = http://recordmydesktop.sourceforge.net/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ ];
};
}