2021-04-12 18:23:04 +00:00
|
|
|
{ fetchFromGitHub, lib, openssl, pkg-config, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "shticker-book-unwritten";
|
|
|
|
version = "1.0.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JonathanHelianthicusDoe";
|
|
|
|
repo = "shticker_book_unwritten";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "08lyxica0b0vvivybsvzigy2j7saar78mbz723y3g5hqrilfb5np";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
2021-05-03 20:48:10 +00:00
|
|
|
cargoSha256 = "1d4mnfzkdbqnjmqk7fl4bsy27lr7wnq997nz0hflaybnx2d3nisn";
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
}
|