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:
@@ -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=";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user