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

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

40 lines
855 B
Nix
Raw Normal View History

2022-08-05 13:53:43 +03:00
{ lib
, rustPlatform
, fetchCrate
2022-08-05 13:53:43 +03:00
, pkg-config
, openssl
, stdenv
, darwin
2022-08-05 13:53:43 +03:00
}:
2022-08-05 13:53:43 +03:00
rustPlatform.buildRustPackage rec {
pname = "zine";
version = "0.16.0";
2022-08-05 13:53:43 +03:00
src = fetchCrate {
inherit pname version;
hash = "sha256-pUoMMgZQ+oDs9Yhc1rQuy9cUWiR800DlIe8wxQjnIis=";
2022-08-05 13:53:43 +03:00
};
cargoHash = "sha256-dXq8O0jVpr0xxvLTrsLJbiyyOMXXtEz7OMINqDEfG4U=";
2022-08-05 13:53:43 +03:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
2022-08-05 13:53:43 +03:00
meta = with lib; {
description = "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 13:53:43 +03:00
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya figsoda ];
2024-02-11 05:19:15 +03:00
mainProgram = "zine";
2022-08-05 13:53:43 +03:00
};
}