version 1.0.0

This commit is contained in:
xenofem 2023-07-05 02:22:09 -04:00
parent 8f74af7c7b
commit 22d2686343
3 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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;