diff --git a/default.nix b/default.nix index fac6fe3..ba1facd 100644 --- a/default.nix +++ b/default.nix @@ -23,6 +23,7 @@ in synapse-admin = pkgs.callPackage ./pkgs/synapse-admin { }; matrix-wug = pkgs.callPackage ./pkgs/matrix-wug { }; + rust-synapse-compress-state = pkgs.callPackage ./pkgs/rust-synapse-compress-state { }; matrix-corporal = pkgs.callPackage ./pkgs/matrix-corporal { }; rank_photos = pkgs.callPackage ./pkgs/rank_photos { }; diff --git a/pkgs/rust-synapse-compress-state/default.nix b/pkgs/rust-synapse-compress-state/default.nix new file mode 100644 index 0000000..4b5b070 --- /dev/null +++ b/pkgs/rust-synapse-compress-state/default.nix @@ -0,0 +1,15 @@ +{ rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage { + pname = "rust-synapse-compress-state"; + version = "unstable-2020-02-20"; + + src = fetchFromGitHub { + owner = "matrix-org"; + repo = "rust-synapse-compress-state"; + rev = "1aac27ebb63b4f4d97460e888cfbbbb75e3ec586"; + sha256 = "15jvkpbq6pgdc91wnni8fj435yqlwqgx3bb0vqjgsdyxs5lzalfh"; + }; + + cargoSha256 = "1yg0nwnkipgi3qv2y8dj76w711xrz3m3n1ix887df3g61drch022"; +}