nixpkgs/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
823 B
Nix
Raw Normal View History

2022-08-05 10:53:43 +00:00
{ lib
, rustPlatform
, fetchCrate
2022-08-05 10:53:43 +00:00
, pkg-config
, openssl
, stdenv
, CoreServices
, Security
2022-08-05 10:53:43 +00:00
}:
2022-08-05 10:53:43 +00:00
rustPlatform.buildRustPackage rec {
pname = "zine";
version = "0.11.0";
2022-08-05 10:53:43 +00:00
src = fetchCrate {
inherit pname version;
sha256 = "sha256-koN30s+giX4wOp4i5QtTLE/t1ZJ9mP0K0YfY0kTuDJY=";
2022-08-05 10:53:43 +00:00
};
cargoHash = "sha256-Re/ooEJCRjQSnz1VSzz4uRWx81yOzChBEeH7gedAHJw=";
2022-08-05 10:53:43 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
2022-08-05 10:53:43 +00: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 10:53:43 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya figsoda ];
2022-08-05 10:53:43 +00:00
};
}