diff --git a/Cargo.lock b/Cargo.lock index 570b15d..54001f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -977,7 +977,7 @@ checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" [[package]] name = "remote-text-server" -version = "0.1.0" +version = "0.1.2" dependencies = [ "base64 0.21.0", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 190afa5..6fd1178 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "remote-text-server" -version = "0.1.0" +version = "0.1.2" edition = "2021" build = "build.rs" diff --git a/default.nix b/default.nix index 38d1847..7aa63b0 100644 --- a/default.nix +++ b/default.nix @@ -11,13 +11,16 @@ , makeWrapper }: +let + package = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package; +in rustPlatform.buildRustPackage rec { - pname = "remote-text-server"; - version = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package.version; + pname = package.name; + version = package.version; src = ./.; - cargoHash = "sha256-g6QiGH9eqC/mrGzeZOJ5wqm5V5D2xsDm4OOyzmE4sqM="; + cargoHash = "sha256-dGnOVvQ2nk3SHSBYjThkY5kRIBoQKKpCYvuRlPIpDyA="; nativeBuildInputs = [ pkg-config @@ -49,7 +52,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "The server-side software for Remote Text"; homepage = "https://github.com/Remote-Text/remote-text-server"; - license = with licenses; [ ]; - maintainers = with maintainers; [ ]; + # license = with licenses; [ ]; + # maintainers = with maintainers; [ ]; }; }