Commit 6002d45a authored by Anderson Torres's avatar Anderson Torres
Browse files

swayest-workstyle: get rid of rec

Because I do not like rec.
Further, https://nix.dev/guides/best-practices.html#recursive-attribute-set-rec

Further I believe source acquisition should be detached from the derivation(s)
-- but this is an issue for another issue.
parent f2d1e835
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -4,16 +4,18 @@
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
let
  pname = "swayest-workstyle";
  version = "1.3.5";

  src = fetchFromGitHub {
    owner = "Lyr-7D1h";
    repo = "swayest_workstyle";
    rev = version;
    hash = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU=";
  };
in
rustPlatform.buildRustPackage {
  inherit pname version src;

  cargoHash = "sha256-sLQPq3tyWq1TxxeFyg05qBt+KGI/vO0jLU7wJLiqcYA=";