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

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

36 lines
747 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
, stdenv
2022-08-05 13:53:43 +03:00
, openssl
, CoreServices
, Security
2022-08-05 13:53:43 +03:00
}:
2022-08-05 13:53:43 +03:00
rustPlatform.buildRustPackage rec {
pname = "zine";
2022-10-20 06:46:47 +03:00
version = "0.7.0";
2022-08-05 13:53:43 +03:00
src = fetchCrate {
inherit pname version;
2022-10-20 06:46:47 +03:00
sha256 = "sha256-teLx21vA4b+ft4zZqou4EiTHhh9Foq2Vukmk4z0pWUM=";
2022-08-05 13:53:43 +03:00
};
2022-10-20 06:46:47 +03:00
cargoSha256 = "sha256-OaA090pvJ6rc29wcsUTiuV4/VY/oDDEOGo94Ol31OzI=";
2022-08-05 13:53:43 +03:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
2022-08-05 13:53:43 +03:00
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 ];
2022-08-05 13:53:43 +03:00
};
}