fxpixiv/default.nix
theBreadCompany c36f125437 fixes
2024-10-15 16:17:29 +02:00

27 lines
582 B
Nix
Executable file

{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib, rustPlatform ? pkgs.rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "fxpixiv";
version = "0.1.0";
src = ./.;
cargoLock = {
lockFile = ./Cargo.lock;
};
checkFlags = [
"--skip=client_tests::login --skip=client_tests::illust_details"
];
cargoSha256 = lib.fakeSha256; # Replace with the actual hash
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.openssl ];
meta = with lib; {
description = "a pixiv embed helper";
license = licenses.mit;
maintainers = [ ];
};
}