From 22d2686343f8f3ef37383c0a7d4c1f4eb94a18a7 Mon Sep 17 00:00:00 2001 From: xenofem Date: Wed, 5 Jul 2023 02:22:09 -0400 Subject: [PATCH] version 1.0.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- flake.nix | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86cd442..c49f507 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1137,7 +1137,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "screencap-bot" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "dotenvy", diff --git a/Cargo.toml b/Cargo.toml index 7807ffd..9c85a6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "screencap-bot" -version = "0.1.0" +version = "1.0.0" edition = "2021" authors = ["xenofem "] license = "MIT" diff --git a/flake.nix b/flake.nix index 9130d47..173dd83 100644 --- a/flake.nix +++ b/flake.nix @@ -10,8 +10,9 @@ nativeBuildInputs = with pkgs; [ rustc cargo pkgconfig clang ]; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; }; - pname = "screencap-bot"; - version = "0.1"; + cargoData = builtins.fromTOML (builtins.readFile ./Cargo.toml); + pname = cargoData.package.name; + version = cargoData.package.version; in rec { packages.x86_64-linux."${pname}-unwrapped" = pkgs.rustPlatform.buildRustPackage ({ inherit pname version;