blob: c7fb80e8318b189b4a2ec290a0fae185e8899044 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "zine";
version = "0.16.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-pUoMMgZQ+oDs9Yhc1rQuy9cUWiR800DlIe8wxQjnIis=";
};
cargoHash = "sha256-dXq8O0jVpr0xxvLTrsLJbiyyOMXXtEz7OMINqDEfG4U=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
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}";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya figsoda ];
mainProgram = "zine";
};
}
|