Skip to content

Commit

Permalink
ffizer: init at 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
XBagon committed Jan 2, 2025
1 parent 2c9288a commit 4d3a5c2
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions pkgs/by-name/ff/ffizer/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
, openssl
, zlib
, stdenv
, darwin
}:

rustPlatform.buildRustPackage rec {
pname = "ffizer";
version = "2.13.0";

buildFeatures = [ "cli" ];

src = fetchFromGitHub {
owner = "ffizer";
repo = "ffizer";
rev = version;
hash = "sha256-Kgd27X9t/AkNCkVWCHdNO6MJBLchxrPQkkmqEJVTrPo=";
};

cargoHash = "sha256-NTwhx0glxIrgTfx8K6tPXokL1ps5PsQ8rjEXThqHkzY=";

nativeBuildInputs = [
pkg-config
];

buildInputs = [
libgit2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

env = {
OPENSSL_NO_VENDOR = true;
};

checkFlags = [
# requires internet access
"--skip=run_test_samples_tests_data_template_2"
];

meta = {
description = "Ffizer is a files and folders initializer / generator. Create any kind (or part) of project from template";
homepage = "https://github.com/ffizer/ffizer";
changelog = "https://github.com/ffizer/ffizer/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ XBagon ];
mainProgram = "ffizer";
};
}

0 comments on commit 4d3a5c2

Please sign in to comment.