Compare commits

...

2 Commits

Author SHA1 Message Date
Jez Cope aa22f8d7c9 Add minimal README 2021-06-07 20:28:00 +01:00
Jez Cope c4cfc69de6 Remove devshell 2021-06-07 20:27:54 +01:00
4 changed files with 26 additions and 39 deletions

19
README.md Normal file
View File

@ -0,0 +1,19 @@
# mxadm: a simple CLI to automate Matrix room admin tasks
TODO: intro
TODO: license
TODO: policy on maintenance and contributions
## TODO
- [ ] Login and store session info
- [ ] Log out
- [ ] Show login status
- [ ] Handle multiple accounts on different homeservers
- [ ] Add room alias
- [ ] Remove room alias
- [ ] Tombstone room
- [ ] Upgrade room

View File

@ -1,10 +0,0 @@
# https://numtide.github.io/devshell
[[commands]]
package = "devshell.cli"
help = "Per project developer environments"
[[commands]]
package = "cargo"
[[commands]]
package = "rustc"

View File

@ -1,20 +1,5 @@
{
"nodes": {
"devshell": {
"locked": {
"lastModified": 1622013274,
"narHash": "sha256-mK/Lv0lCbl07dI5s7tR/7nb79HunKnJik3KyR6yeI2k=",
"owner": "numtide",
"repo": "devshell",
"rev": "e7faf69e6bf8546517cc936c7f6d31c7eb3abcb2",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1620759905,
@ -46,7 +31,6 @@
},
"root": {
"inputs": {
"devshell": "devshell",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}

View File

@ -1,20 +1,14 @@
{
description = "virtual environments";
inputs.devshell.url = "github:numtide/devshell";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, flake-utils, devshell, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system: {
devShell =
let pkgs = import nixpkgs {
inherit system;
overlays = [ devshell.overlay ];
outputs = { self, flake-utils, nixpkgs, ... }@inputs:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [ cargo rustc pkgconfig openssl.dev ];
};
in
pkgs.devshell.mkShell {
imports = [ (pkgs.devshell.importTOML ./devshell.toml) ];
};
});
});
}