Unverified Commit 25bf8e82 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

stratisd: 3.6.8 -> 3.7.1, stratis-cli: 3.6.2 -> 3.7.0 (#347336)

parents 9e9693ec 216e4610
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,14 +6,14 @@

python3Packages.buildPythonApplication rec {
  pname = "stratis-cli";
  version = "3.6.2";
  version = "3.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "stratis-storage";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-f2Bjv7Z7+FZejS5plUGKTlGUixgF2pGN1SeszTDh4Ko=";
    hash = "sha256-F/RP/bWf2fV1IvNbrkYX3d94om1kACNe+oJI8pXM5P4=";
  };

  nativeBuildInputs = with python3Packages; [
+7 −3
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
, cryptsetup
, util-linux
, lvm2
, python3
, systemd
, xfsprogs
, thin-provisioning-tools
@@ -27,18 +28,18 @@

stdenv.mkDerivation rec {
  pname = "stratisd";
  version = "3.6.8";
  version = "3.7.1";

  src = fetchFromGitHub {
    owner = "stratis-storage";
    repo = pname;
    rev = "refs/tags/stratisd-v${version}";
    hash = "sha256-cYd2oy9reY8eWSdO98cVcz6/Z+MS26NY4U3UNVfMdbg=";
    hash = "sha256-JevVIyNNkRuG1aH9yuBKwVlOgS67jJSoJDZQvpLsy/4=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    hash = "sha256-1KzOKo5Q1uBqO3aCBYUJJxla4873AzrwoFPaNpKKFJU=";
    hash = "sha256-n8gF8WuHwwPxZAggkJckBxfvb0r+jJDuTcj7KXjg4/Y=";
  };

  postPatch = ''
@@ -53,6 +54,8 @@ stdenv.mkDerivation rec {
      --replace-fail udevadm               "${systemd}/bin/udevadm"
  '';

  strictDeps = true;

  nativeBuildInputs = [
    rustPlatform.cargoSetupHook
    rustPlatform.bindgenHook
@@ -71,6 +74,7 @@ stdenv.mkDerivation rec {
    util-linux
    systemd
    lvm2
    (python3.withPackages (ps: [ ps.dbus-python ]))
  ];

  outputs = [ "out" "initrd" ];