Unverified Commit d1192949 authored by rewine's avatar rewine Committed by GitHub
Browse files

cosmic-settings-daemon: 1.0.0-alpha.5.1 -> 1.0.0-alpha.6 (#384950)

parents 5e667403 3604f213
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -4,23 +4,24 @@
  stdenv,
  rustPlatform,
  pkg-config,
  geoclue2-with-demo-agent,
  libinput,
  udev,
}:

rustPlatform.buildRustPackage rec {
  pname = "cosmic-settings-daemon";
  version = "1.0.0-alpha.5.1";
  version = "1.0.0-alpha.6";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = "cosmic-settings-daemon";
    rev = "epoch-${version}";
    hash = "sha256-MlBnwbszwJCa/FQNihSKsy7Bllw807C8qQL9ziYS3fE=";
    hash = "sha256-DtwW6RxHnNh87Xu0NCULfUsHNzYU9tHtFKE9HO3rvME=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-ianyD+ws/t2Qg+UG3eGE1WP2dHS2iWdCTolk/ZH/Ddg=";
  cargoHash = "sha256-lGzQBL9IXbPsaKeVHp34xkm5FnTxWvfw4wg3El4LZdA=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
@@ -28,6 +29,8 @@ rustPlatform.buildRustPackage rec {
    udev
  ];

  env.GEOCLUE_AGENT = "${lib.getLib geoclue2-with-demo-agent}/libexec/geoclue-2.0/demos/agent";

  makeFlags = [
    "prefix=$(out)"
    "CARGO_TARGET_DIR=target/${stdenv.hostPlatform.rust.cargoShortTarget}"