version 1.0.0
This commit is contained in:
parent
8f74af7c7b
commit
22d2686343
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1137,7 +1137,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "screencap-bot"
|
name = "screencap-bot"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"dotenvy",
|
"dotenvy",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "screencap-bot"
|
name = "screencap-bot"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["xenofem <xenofem@xeno.science>"]
|
authors = ["xenofem <xenofem@xeno.science>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -10,8 +10,9 @@
|
||||||
nativeBuildInputs = with pkgs; [ rustc cargo pkgconfig clang ];
|
nativeBuildInputs = with pkgs; [ rustc cargo pkgconfig clang ];
|
||||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||||
};
|
};
|
||||||
pname = "screencap-bot";
|
cargoData = builtins.fromTOML (builtins.readFile ./Cargo.toml);
|
||||||
version = "0.1";
|
pname = cargoData.package.name;
|
||||||
|
version = cargoData.package.version;
|
||||||
in rec {
|
in rec {
|
||||||
packages.x86_64-linux."${pname}-unwrapped" = pkgs.rustPlatform.buildRustPackage ({
|
packages.x86_64-linux."${pname}-unwrapped" = pkgs.rustPlatform.buildRustPackage ({
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
Loading…
Reference in a new issue