linuxstopmotion: format with nixpkgs-rfc-style

This commit is contained in:
Bjørn Forsman 2024-11-01 18:51:40 +01:00
parent ec3d46cd68
commit 4b4a448aa8

View File

@ -1,4 +1,16 @@
{ mkDerivation, lib, fetchgit, pkg-config, qmake, qtbase, qttools, qtmultimedia, libvorbis, libtar, libxml2 }: {
mkDerivation,
lib,
fetchgit,
pkg-config,
qmake,
qtbase,
qttools,
qtmultimedia,
libvorbis,
libtar,
libxml2,
}:
mkDerivation rec { mkDerivation rec {
version = "0.8.5"; version = "0.8.5";
@ -10,8 +22,18 @@ mkDerivation rec {
sha256 = "1612lkwsfzc59wvdj2zbj5cwsyw66bwn31jrzjrxvygxdh4ab069"; sha256 = "1612lkwsfzc59wvdj2zbj5cwsyw66bwn31jrzjrxvygxdh4ab069";
}; };
nativeBuildInputs = [ qmake pkg-config ]; nativeBuildInputs = [
buildInputs = [ qtbase qttools qtmultimedia libvorbis libtar libxml2 ]; qmake
pkg-config
];
buildInputs = [
qtbase
qttools
qtmultimedia
libvorbis
libtar
libxml2
];
postPatch = '' postPatch = ''
substituteInPlace stopmotion.pro --replace '$$[QT_INSTALL_BINS]' '${lib.getDev qttools}/bin' substituteInPlace stopmotion.pro --replace '$$[QT_INSTALL_BINS]' '${lib.getDev qttools}/bin'