Unverified Commit e3e71098 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #264858 from EdenEast/tuxmux-update

tuxmux: 0.1.0 -> 0.1.1
parents b81fa2ce bda14ffa
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2,26 +2,25 @@
, stdenv
, fetchFromGitHub
, rustPlatform
, openssl
, libiconv
, pkg-config
, installShellFiles
, darwin
}:

rustPlatform.buildRustPackage rec {
  pname = "tuxmux";
  version = "0.1.0";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "edeneast";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-QySDC/aEU9Fo0UbRUNvgBQLfESYzENGfS8Tl/ycn1YY=";
    hash = "sha256-BZ1Vo1NIpzUBGyvd/UbxLaFbrLzoaP8kn/8GoAYBmlo=";
  };

  cargoHash = "sha256-MlLTaN+KMeF0A1hh0oujLYWqjwrbmoNzoRoXjeCUf7I=";
  cargoHash = "sha256-HIYQPHLMhQtpCIkl5EzjJGHXzBtw7mY85l5bqapw3rg=";

  buildInputs = [ openssl ] ++ (lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]);
  buildInputs = [ libiconv ];
  nativeBuildInputs = [ pkg-config installShellFiles ];

  postInstall = ''