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.
This commit is contained in:
Anderson Torres
2024-08-19 13:35:15 -03:00
parent f2d1e83504
commit 6002d45a96
@@ -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=";