imgbrd-grabber: init at 7.3.2
This commit is contained in:
parent
7c4305be84
commit
8ad56944fa
2 changed files with 52 additions and 0 deletions
pkgs
50
pkgs/applications/graphics/imgbrd-grabber/default.nix
Normal file
50
pkgs/applications/graphics/imgbrd-grabber/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ stdenv
|
||||
, cmake
|
||||
, fetchzip
|
||||
, openssl
|
||||
, autoPatchelfHook
|
||||
, makeWrapper
|
||||
, qtmultimedia
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "imgbrd-grabber";
|
||||
version = "7.3.2";
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
openssl
|
||||
qtmultimedia
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/grabber
|
||||
cp -R * $out/share/grabber
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/share/grabber/Grabber /$out/bin/grabber
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
mv $out/share/grabber/Grabber.desktop $out/share/applications/
|
||||
|
||||
'';
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/Bionus/imgbrd-grabber/releases/download/v${version}/Grabber_v${version}.tar.gz";
|
||||
sha256 = "05isnqhvcp8ycaj8hx6wn0c3la729mb36dzpmlpxfb1p5dj8p49k";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Bionus/imgbrd-grabber";
|
||||
description = "Very customizable imageboard/booru downloader with powerful filenaming features.";
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ evanjs ];
|
||||
};
|
||||
}
|
|
@ -21429,6 +21429,8 @@ in
|
|||
|
||||
img2pdf = with python3Packages; toPythonApplication img2pdf;
|
||||
|
||||
imgbrd-grabber = qt5.callPackage ../applications/graphics/imgbrd-grabber { };
|
||||
|
||||
imgcat = callPackage ../applications/graphics/imgcat { };
|
||||
|
||||
imgp = python3Packages.callPackage ../applications/graphics/imgp { };
|
||||
|
|
Loading…
Reference in a new issue