b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
35 lines
747 B
Nix
35 lines
747 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
, pkg-config
|
|
, stdenv
|
|
, openssl
|
|
, CoreServices
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zine";
|
|
version = "0.6.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-savwRdIO48gCwqW2Wz/nWZuI1TxW/F0OR9jhNzHF+us=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-U+pzT3V4rHiU+Hrax1EUXGQgdjrdfd3G07luaDSam3g=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [ openssl ]
|
|
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
|
|
|
meta = with lib; {
|
|
description = "A simple and opinionated tool to build your own magazine";
|
|
homepage = "https://github.com/zineland/zine";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ dit7ya figsoda ];
|
|
};
|
|
}
|