nixpkgs-suyu/pkgs/applications/misc/zine/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
824 B
Nix
Raw Normal View History

2022-08-05 12:53:43 +02:00
{ lib
, rustPlatform
, fetchCrate
2022-08-05 12:53:43 +02:00
, pkg-config
, openssl
, stdenv
, CoreServices
, Security
2022-08-05 12:53:43 +02:00
}:
2022-08-05 12:53:43 +02:00
rustPlatform.buildRustPackage rec {
pname = "zine";
version = "0.8.1";
2022-08-05 12:53:43 +02:00
src = fetchCrate {
inherit pname version;
sha256 = "sha256-mcYBaNmfpXDMhZuDxZ8WgwRb0CM3WjATrMH5YcU2Dxo=";
2022-08-05 12:53:43 +02:00
};
cargoSha256 = "sha256-Xfy7RRQairzfhVmh2E5ny07/9jACDdTqU2aj4IT1rkE=";
2022-08-05 12:53:43 +02:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
2022-08-05 12:53:43 +02:00
meta = with lib; {
description = "A simple and opinionated tool to build your own magazine";
homepage = "https://github.com/zineland/zine";
changelog = "https://github.com/zineland/zine/releases/tag/v${version}";
2022-08-05 12:53:43 +02:00
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya figsoda ];
2022-08-05 12:53:43 +02:00
};
}